Browse Source

alipy支付

warrior 2 weeks ago
parent
commit
236b2298ab

+ 0 - 1
projects/live-app/src/app/components/pay-comp/pay-comp.component.ts

@@ -302,7 +302,6 @@ export class PayCompComponent implements OnInit {
         tradeNo: this.tradeNo,
         price: this.price,
         tradetype: 'wap',
-        // price: 0.01,
         orderTitle: this.title,
         returnUrl: beforURL,
       };

+ 2 - 1
projects/live-app/src/services/account.service.ts

@@ -271,7 +271,8 @@ export class AccountService {
     accountLog.set('orderNumber', param.tradeNo);
     accountLog.set('desc', `${param.payType}充值${param.price}`);
     accountLog.set('assetType', 'balance');
-    accountLog.set('orderType', `${param.payType}recharge`);
+    accountLog.set('orderType', `${param.payType}-recharge`);
+    accountLog.set('payType', param.payType);
     accountLog.set('assetCount', param.credit);
     accountLog.set('serviceFee', param.price)
     return await accountLog.save();