Nguyễn Thanh Hoàng

Results 14 comments of Nguyễn Thanh Hoàng

> @webvang đây là code php để gọi API > > ``` >

![z2729857299487_26ee485e78d26a3b1cf97093141f2350](https://user-images.githubusercontent.com/8552350/131813972-4dc7deed-2e11-47a5-a7c6-7ec7dc074a7a.jpg) ![z2729857979204_f20e2e564aafcc610912c69300b7de15](https://user-images.githubusercontent.com/8552350/131813976-262d6f6e-854c-4e56-a8ae-1a3725f3c68a.jpg) ![z2729859350314_faaa368451d1036c20b3543b336b9562](https://user-images.githubusercontent.com/8552350/131813979-0b022473-697f-4c4b-8d79-a9fe0622e781.jpg) Tập thể công ty NV Systems và CLB NukeViet HCMC gửi đến ộng đồng demo phien bản app dùng tai khoản login qua API NukeViet Phiên bản...

ALTER TABLE `nv4_authors_api_credential` ADD `credential_method` VARCHAR(50) NOT NULL DEFAULT 'password_verify' ;

if($credential_data['credential_method'] == 'hash_equals_and_crypt'){ $password_verify= hash_equals($api_credential['hashsecret'], crypt($apisecret . '_' . $api_credential['timestamp'], $api_credential['hashsecret']); }else{ $password_verify= password_verify($apisecret . '_' . $api_credential['timestamp'], $api_credential['hashsecret']) } if (!$password_verify) { $apiresults->setCode(ApiResult::CODE_AUTH_FAIL) ->setMessage('Api Authentication fail !!! ') ->returnResult();...