@@ -28,7 +28,7 @@
<div class="checkbox"></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> -->
+ </div>
<div class="pay-footer">
<div class="order-num">订单编号{{ tradeNo }}</div>
@@ -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,
@@ -223,7 +223,7 @@ export class AccountService {
});
//充值记录
- async updataOrder(param: {
+ async creatdRechargeLog(param: {
tradeNo: string;
payType: string;
price: number;