post()->goCheck('confirmDoor'); try { $decryptData = decrypt($params['code'], \think\facade\Config::get('project.work_sn_key')); }catch (\Exception $e){ return $this->fail($e->getMessage()); } return $this->success('已确认上门'); } }