lizhen_gitee před 1 rokem
rodič
revize
f8f89a7b41

+ 2 - 3
addons/unishop/controller/Pay.php

@@ -339,7 +339,7 @@ class Pay extends Base
      * @ApiReturn   (重定向到支付宝支付网页)
      *
      */
-    public function alipay(){
+    public function alipay_simple(){
         Hook::add('paid_success', 'addons\\unishop\\behavior\\Order');
 
         $orderId = $this->request->request('order_id', 0);
@@ -352,9 +352,8 @@ class Pay extends Base
 
         $this->success('支付成功', []);
     }
-    public function alipay_old()
+    public function alipay()
     {
-        $this->error('暂不支持支付宝');
         $orderId = $this->request->request('order_id', 0);
         $orderId = Hashids::decodeHex($orderId);
 

+ 1 - 0
application/extra/wallet.php

@@ -20,6 +20,7 @@ return [
     'moneyname' => [
         'money'    => '佣金',
         'score'    => '积分',
+        'shouyi'    => '纯收益',
     ],
 
 ];