浏览代码

fix(wechat):Call to undefined function
- 添加 success_response 函数的显式导入

runphp 5 月之前
父节点
当前提交
9f20f35118
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/Controller/UserController.php

+ 1 - 0
src/Controller/UserController.php

@@ -6,6 +6,7 @@ use app\model\User;
 use SixShop\Wechat\Entity\ExtensionWechatUserEntity;
 use think\Request;
 use think\Response;
+use function SixShop\Core\success_response;
 use function SixShop\Core\throw_logic_exception;
 
 class UserController