hrjy 2 years ago
parent
commit
7c19f6119c
1 changed files with 0 additions and 13 deletions
  1. 0 13
      app/admin/model/user/UserExtract.php

+ 0 - 13
app/admin/model/user/UserExtract.php

@@ -156,19 +156,6 @@ class UserExtract extends BaseModel
         return self::edit(['status' => 1], $id);
     }
 
-    /**
-     * 测试方法
-     *
-     */
-    public function test()
-    {
-        $batch_name   = '余额提现';//转账的名称
-        $out_trade_no = time().rand(1000,9999);//单号
-        $money        = 1;//金额
-        $openid       = 'o81tN5bU3rqOSq62i5FqcOP-LUy8';//用户openid
-        $this->tixian($batch_name,$out_trade_no,1,$openid);
-    }
-
     public static function tixian($batch_name,$out_trade_no,$money,$openid){
         $url = 'https://api.mch.weixin.qq.com/v3/transfer/batches';
         $pars = [];