正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -92,11 +92,11 @@ class ProjectAssociationController extends BaseController | @@ -92,11 +92,11 @@ class ProjectAssociationController extends BaseController | ||
| 92 | } catch (\Exception $exception) { | 92 | } catch (\Exception $exception) { |
| 93 | DB::rollBack(); | 93 | DB::rollBack(); |
| 94 | // 数据错误,请重试 | 94 | // 数据错误,请重试 |
| 95 | - $this->response('error'); | 95 | + $this->response('error', Code::SERVER_ERROR); |
| 96 | } | 96 | } |
| 97 | if (is_null($isRes)) { | 97 | if (is_null($isRes)) { |
| 98 | // 请开启AICC绑定 | 98 | // 请开启AICC绑定 |
| 99 | - $this->response('success'); | 99 | + $this->response('success', Code::SERVER_ERROR); |
| 100 | } | 100 | } |
| 101 | $redis_key = 'aicc_friend_lists_' . (int)env('AICC_WECHAT_USER_ID'); | 101 | $redis_key = 'aicc_friend_lists_' . (int)env('AICC_WECHAT_USER_ID'); |
| 102 | $result = isset($cache) ? false : redis_get($redis_key); | 102 | $result = isset($cache) ? false : redis_get($redis_key); |
-
请 注册 或 登录 后发表评论