Browse Source

公众号支付

lizhen_gitee 3 years ago
parent
commit
6e3c9676ef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/api/controller/Recharge.php

+ 1 - 1
application/api/controller/Recharge.php

@@ -39,7 +39,7 @@ class Recharge extends Api
             'mobile'=>$mobile,
         ];
 
-        $user_info = Db::name('user')->field('username,nickname')->where($map)->select();
+        $user_info = Db::name('user')->field('username,nickname')->where($map)->find();
         if (empty($user_info)) {
             $this->error('用户信息不存在');
         }