소스 검색

调通支付宝

lizhen_gitee 1 년 전
부모
커밋
fcadb6cd36
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      application/api/controller/Notifynew.php
  2. 1 0
      application/config.php

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

@@ -74,7 +74,7 @@ class Notifynew extends Api
 
         //逻辑开始
         $args = json_decode($orderInfo['args'],true);
-        $result = model('Wallet')->lockChangeAccountRemain($orderInfo['user_id'],$args['gold'],'+',0,'金币充值',1,'jewel');
+        $result = model('Wallet')->lockChangeAccountRemain($orderInfo['user_id'],$args['jewel'],'+',0,'金币充值',1,'jewel');
         if($result['status']===false)
         {
             Db::rollback();

+ 1 - 0
application/config.php

@@ -390,6 +390,7 @@ return [
     ],
 
     //支付宝账号,海知伴,仅用来备份
+    'pay_notify_url' => 'https://kge.huxiukeji.cn',
     'alipay' => [
         //appid
         'app_id'   => '2021004127617098',