This commit is contained in:
mkm 2023-08-25 16:56:15 +08:00
parent 4823629b17
commit 4b11877487
2 changed files with 3 additions and 3 deletions

View File

@ -219,7 +219,7 @@ class CompanyController extends BaseAdminController
$res = app(JunziqianController::class)->organizationReapply($data);
if ($res->success == true) {
Db::name('company')->where('id', $params['id'])->update(['master_email' => $res->data]);
return $this->success('重新认证成功', ['em'], 1, 1);
return $this->success('系统认证中,请稍后刷新页面查看', ['email' => $res->data], 1, 1);
} else {
return $this->fail($res->msg);
}

View File

@ -137,11 +137,11 @@ class TaskController extends BaseApiController
if (isset($task['extend']['update']['terminus']) && isset($task['extend']['update']['transfer'])) {
$data['status'] = 3;
}
// if($res<100){
if($res<100){
$data['extend'] = json_encode($task['extend']);
Task::where('id', $parmas['id'])->update($data);
return $this->success('更新成功');
// }
}
return $this->fail('定位坐标大于100米请重新打卡');
}