This commit is contained in:
aozhiwei 2024-08-07 17:46:29 +08:00
parent 1f961f8917
commit d0dd50df99

View File

@ -27,7 +27,7 @@ func (ea *RechargeApi) RechargeList(c *gin.Context) {
Rows []interface{} `json:"rows"` Rows []interface{} `json:"rows"`
}{} }{}
mt.Table.Recharge.RawMetaTable.Traverse(func(tb *mt.Recharge) bool { mt.Table.Recharge.Traverse(func(tb *mt.Recharge) bool {
tmpmap := map[string]interface{}{} tmpmap := map[string]interface{}{}
tmpmap["goods_id"] = tb.GetId() tmpmap["goods_id"] = tb.GetId()
tmpmap["diamond"] = tb.GetDiamond() tmpmap["diamond"] = tb.GetDiamond()