修复拉卡拉支付时间偏差
This commit is contained in:
@@ -14,6 +14,7 @@ import (
|
||||
"hfb_sys/backend/internal/modules/chat"
|
||||
"hfb_sys/backend/internal/modules/notification"
|
||||
"hfb_sys/backend/internal/modules/wallet"
|
||||
"hfb_sys/backend/internal/timeutil"
|
||||
"hfb_sys/backend/pkg/money"
|
||||
|
||||
"gorm.io/datatypes"
|
||||
@@ -1627,7 +1628,7 @@ func makeAccountSnapshot(account model.GameAccount) (datatypes.JSON, error) {
|
||||
func newOrderNo() (string, error) {
|
||||
// 生成格式:RO + YYYYMMDDHHMMSS + 3位随机数
|
||||
// 例如:RO20260603123456789
|
||||
now := time.Now()
|
||||
now := timeutil.ShanghaiNow()
|
||||
|
||||
// 时间部分:年月日时分秒 (14位)
|
||||
timeStr := now.Format("20060102150405")
|
||||
|
||||
Reference in New Issue
Block a user