Skip to content

Commit

Permalink
docs: add comment for price unit
Browse files Browse the repository at this point in the history
  • Loading branch information
AprilNEA committed Nov 17, 2023
1 parent d059d43 commit b624502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/libs/payment/payment.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class PaymentService {
version: '1.1',
appid: xhConfig.appId,
trade_order_id: orderId,
total_fee: price / 100,
total_fee: price / 100, // 此处为实际价格,单位为元
title: title ?? 'ChatGPT Admin Web',
time: Math.floor(Date.now() / 1000),
notify_url: `${xhConfig.notifyUrl}/api/order/callback/xunhu`,
Expand Down

0 comments on commit b624502

Please sign in to comment.