正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -359,6 +359,9 @@ func (c *PartnerInfoController) ListPartnerInfo() { | @@ -359,6 +359,9 @@ func (c *PartnerInfoController) ListPartnerInfo() { | ||
| 359 | } | 359 | } |
| 360 | resp = append(resp, m) | 360 | resp = append(resp, m) |
| 361 | } | 361 | } |
| 362 | + if len(resp) == 0 { | ||
| 363 | + resp = []map[string]interface{}{} | ||
| 364 | + } | ||
| 362 | c.ResponsePageList(resp, count, param.PageNumber) | 365 | c.ResponsePageList(resp, count, param.PageNumber) |
| 363 | return | 366 | return |
| 364 | } | 367 | } |
-
请 注册 或 登录 后发表评论