fix: 修复 读写不一致 appleiap 的问题
All checks were successful
Build docker and publish / build (20.15.1) (push) Successful in 7m39s

This commit is contained in:
shanshanzhong 2026-03-09 05:17:26 -07:00
parent b9cc33ad70
commit 5f884ed737
4 changed files with 17235 additions and 1 deletions

5379
common.json Normal file

File diff suppressed because it is too large Load Diff

View File

@ -72,7 +72,7 @@ func (m *customPaymentModel) FindListByPage(ctx context.Context, page, size int,
func (m *customPaymentModel) FindListByPlatform(ctx context.Context, platform string) ([]*Payment, error) { func (m *customPaymentModel) FindListByPlatform(ctx context.Context, platform string) ([]*Payment, error) {
var resp []*Payment var resp []*Payment
err := m.QueryNoCacheCtx(ctx, &resp, func(conn *gorm.DB, v interface{}) error { err := m.QueryNoCacheCtx(ctx, &resp, func(conn *gorm.DB, v interface{}) error {
return conn.Model(&Payment{}).Where("platform = ?", platform).Find(v).Error return conn.Model(&Payment{}).Where("LOWER(REPLACE(platform, '_', '')) = LOWER(REPLACE(?, '_', ''))", platform).Find(v).Error
}) })
return resp, err return resp, err
} }

4669
node.json Normal file

File diff suppressed because it is too large Load Diff

7186
user.json Normal file

File diff suppressed because it is too large Load Diff