Explorar o código

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

runphp hai 5 meses
pai
achega
9f20f35118
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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