Merge branch 'develop' of http://47.244.231.31:8099/zhl/globalso-v6 into develop
正在显示
1 个修改的文件
包含
4 行增加
和
3 行删除
| @@ -257,9 +257,10 @@ class UserLoginLogic | @@ -257,9 +257,10 @@ class UserLoginLogic | ||
| 257 | 'message'=>'当前微信已绑定其他微信,请解绑后再操作', | 257 | 'message'=>'当前微信已绑定其他微信,请解绑后再操作', |
| 258 | ]; | 258 | ]; |
| 259 | }else{ | 259 | }else{ |
| 260 | - if(!empty($id)){ | ||
| 261 | - $this->model->edit(['wechat'=>$wechat],['id'=>$id]); | ||
| 262 | - } | 260 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($id, true) . PHP_EOL, FILE_APPEND); |
| 261 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($wechat, true) . PHP_EOL, FILE_APPEND); | ||
| 262 | + $rs = $this->model->edit(['wechat'=>$wechat],['id'=>(int)$id]); | ||
| 263 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($rs, true) . PHP_EOL, FILE_APPEND); | ||
| 263 | $data = [ | 264 | $data = [ |
| 264 | 'code'=>2, | 265 | 'code'=>2, |
| 265 | 'message'=>'绑定成功', | 266 | 'message'=>'绑定成功', |
-
请 注册 或 登录 后发表评论