注释人脸相关代码

This commit is contained in:
chenbo 2023-09-08 21:24:15 +08:00
parent 460b2fd29c
commit dd8e07a5a4

View File

@ -211,7 +211,7 @@ class CompanyController extends BaseAdminController
// return $this->fail($faceCreateRe);
// }
// 修改法人邮箱
Db::name('company')->where('id', $params['id'])->update(['master_email' => $email]);
Db::name('company')->where('id', $params['id'])->update(['master_email' => $email, 'face_create_status'=>1]);
// 加入缓存中is_callback用于判断是否获取到异步通知
RedisLogic::getInstance()->set('authentication_company_id_'.$company['id'], json_encode(['company_id'=>$company['id'],'is_callback'=>0, 'timing'=>time()]));
// return $this->success('认证成功',[],1, 1);