作者 lyh

变更数据

... ... @@ -31,15 +31,15 @@ class GeoController extends BaseController
try {
$token = trim($this->param['token']);
$param = Crypt::decrypt($token);
if ($param['send_at'] + 86400 < time()) {
}
$project_id = $param['project_id'];
} catch (\Exception $e) {
return $this->error('非法请求');
}catch (\Exception $e){
$this->response('非法请求');
}
if ($param['send_at'] + 86400 < time()) {
$this->response('非法请求,已过期');
}
$project_id = $param['project_id'];
$projectModel = new Project();
$projectInfo = $projectModel->read(['project_id' => $project_id],['title','version']);
$projectInfo = $projectModel->read(['id' => $project_id],['title','version']);
$geoWritingsModel = new GeoWritings();
$lists = $geoWritingsModel->list(['project_id' => $project_id, 'status' => 2 ,'is_del' => GeoWritings::IS_DEL_FALSE],'id',['title', 'status', 'uniqid', 'confirm_at']);
$result = [
... ...