Commit e868f921 authored by 顾文旭's avatar 顾文旭

test

parent 890113af
......@@ -68,6 +68,8 @@ class UserService
$end = microtime(true);
$totalTime = round(($end - $begin), 4) * 1000;
echo "111111".$response[response][errcode];
echo "222222".$response[response][errmsg] ;
if ($response['code'] == 0) {
$response = $response['response'];
}
......@@ -171,14 +173,14 @@ class UserService
$errCode = $wXBizDataCrypt->decryptData($encryptedData, $iv, $decryptData);
if ($errCode) {
FileLog::error("bindPhone:解密失败", json_encode($params, JSON_UNESCAPED_UNICODE),'','jianghaiming@yidian-inc.com');
FileLog::error("bindPhone:解密失败", json_encode($params, JSON_UNESCAPED_UNICODE),'','');
throw new UserException(['cus' => 6]);
}
// 手机号解密失败
if (empty($decryptData['phoneNumber'])) {
FileLog::error("bindPhone:手机号解密失败", json_encode($params, JSON_UNESCAPED_UNICODE),'','jianghaiming@yidian-inc.com');
FileLog::error("bindPhone:手机号解密失败--decryptData", json_encode($decryptData, JSON_UNESCAPED_UNICODE),'','jianghaiming@yidian-inc.com');
FileLog::error("bindPhone:手机号解密失败", json_encode($params, JSON_UNESCAPED_UNICODE),'','');
FileLog::error("bindPhone:手机号解密失败--decryptData", json_encode($decryptData, JSON_UNESCAPED_UNICODE),'','');
throw new UserException(['cus' => 7]);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment