|
|
@@ -16,6 +16,7 @@ use crmeb\basic\BaseController;
|
|
16
|
16
|
use app\common\repositories\store\ExcelRepository;
|
|
17
|
17
|
use think\App;
|
|
18
|
18
|
use think\facade\Db;
|
|
|
19
|
+use think\facade\Log;
|
|
19
|
20
|
|
|
20
|
21
|
class GzcLogs extends BaseController
|
|
21
|
22
|
{
|
|
|
@@ -182,6 +183,7 @@ class GzcLogs extends BaseController
|
|
182
|
183
|
if(!$uid) return app('json')->fail('创建或获取用户失败');
|
|
183
|
184
|
// 兼容港澳台用户认证
|
|
184
|
185
|
$certification = $OrderGzcRepository->certification($uid, $mobile, $user_name, $user_card, $card_positive, $card_reverse,$cardType,$birthday,$gender);
|
|
|
186
|
+ Log::info('pcpc认证结果' . json_encode($certification));
|
|
185
|
187
|
if($certification['status'] != 200) return app('json')->fail('实名认证失败:'.$certification['message']);
|
|
186
|
188
|
$gzc = $OrderGzcRepository->gzc($uid,$log['pension']);
|
|
187
|
189
|
if($gzc['status'] != 200) return app('json')->fail('入账失败:'.$gzc['message']);
|