warrior il y a 1 mois
Parent
commit
2bc95b7882

+ 2 - 2
projects/live-app/src/app/components/pay-comp/pay-comp.component.html

@@ -28,7 +28,7 @@
             <div class="checkbox"></div>
           </div>
         </div>
-        <!-- <div class="bar"></div>
+        <div class="bar"></div>
         <div class="row" (click)="onchangPay('alipay')">
           <div class="label">
             <img src="img/pay_alipay.png" alt="" class="icon" />
@@ -42,7 +42,7 @@
           >
             <div class="checkbox"></div>
           </div>
-        </div> -->
+        </div>
       </div>
       <div class="pay-footer">
         <div class="order-num">订单编号{{ tradeNo }}</div>

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

@@ -243,7 +243,7 @@ export class PayCompComponent implements OnInit {
         this.orderId = resulte.objectId;
       }
     } else if (this.orderType == 'recharge') {
-      this.accountLog = await this.accServ.updataOrder({
+      this.accountLog = await this.accServ.creatdRechargeLog({
         tradeNo: this.tradeNo!,
         payType: 'wxpay',
         price: this.price,

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

@@ -223,7 +223,7 @@ export class AccountService {
     });
   }
   //充值记录
-  async updataOrder(param: {
+  async creatdRechargeLog(param: {
     tradeNo: string;
     payType: string;
     price: number;