Skip to content
This repository was archived by the owner on Nov 23, 2025. It is now read-only.

Commit b624502

Browse files
committed
docs: add comment for price unit
1 parent d059d43 commit b624502

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/backend/src/libs/payment/payment.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class PaymentService {
6161
version: '1.1',
6262
appid: xhConfig.appId,
6363
trade_order_id: orderId,
64-
total_fee: price / 100,
64+
total_fee: price / 100, // 此处为实际价格,单位为元
6565
title: title ?? 'ChatGPT Admin Web',
6666
time: Math.floor(Date.now() / 1000),
6767
notify_url: `${xhConfig.notifyUrl}/api/order/callback/xunhu`,

0 commit comments

Comments
 (0)