浏览代码

Update Fans.php

Anyon 4 年之前
父节点
当前提交
f5929aaa2c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/wechat/controller/Fans.php

+ 2 - 2
app/wechat/controller/Fans.php

@@ -93,8 +93,8 @@ class Fans extends Controller
             $this->success('拉入黑名单成功!');
         } catch (HttpResponseException $exception) {
             throw  $exception;
-        } catch (\Exception $e) {
-            $this->error("拉入黑名单失败,请稍候再试!<br>{$e->getMessage()}");
+        } catch (\Exception $exception) {
+            $this->error("拉入黑名单失败,请稍候再试!<br>{$exception->getMessage()}");
         }
     }