refactor: 将物品和货币相关字段从uint32改为int64以支持更大数值范围
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
This commit is contained in:
@@ -90,7 +90,7 @@ func (s *DictInfoService) GetData(types string) (data map[uint32]model.DictInfo)
|
||||
}
|
||||
|
||||
// 获取物品的最大数限制
|
||||
func (s *DictInfoService) GetMax(value uint32) (max uint32) {
|
||||
func (s *DictInfoService) GetMax(value int64) (max uint32) {
|
||||
|
||||
m := cool.DBM(s.Model)
|
||||
var ress *model.DictInfo
|
||||
|
||||
Reference in New Issue
Block a user