|
@@ -220,10 +220,7 @@ func (c *CommonController) SelectCompanyUserList() { |
|
@@ -220,10 +220,7 @@ func (c *CommonController) SelectCompanyUserList() { |
220
|
}
|
220
|
}
|
221
|
companyid := c.GetCompanyId()
|
221
|
companyid := c.GetCompanyId()
|
222
|
listData := servecommon.SelectCompanyUserList(param.PageIndex, param.PageSize, companyid, param.UserName)
|
222
|
listData := servecommon.SelectCompanyUserList(param.PageIndex, param.PageSize, companyid, param.UserName)
|
223
|
- rspData := map[string]interface{}{
|
|
|
224
|
- "gridResult": listData,
|
|
|
225
|
- }
|
|
|
226
|
- msg = protocol.NewReturnResponse(rspData, nil)
|
223
|
+ msg = protocol.NewPageDataResponse(listData, nil)
|
227
|
return
|
224
|
return
|
228
|
}
|
225
|
}
|
229
|
|
226
|
|
|
@@ -245,9 +242,6 @@ func (c *CommonController) SelectChanceList() { |
|
@@ -245,9 +242,6 @@ func (c *CommonController) SelectChanceList() { |
245
|
}
|
242
|
}
|
246
|
companyid := c.GetCompanyId()
|
243
|
companyid := c.GetCompanyId()
|
247
|
listData := servecommon.SelectChanceList(param.PageIndex, param.PageSize, companyid, param.ChanceCode)
|
244
|
listData := servecommon.SelectChanceList(param.PageIndex, param.PageSize, companyid, param.ChanceCode)
|
248
|
- rspData := map[string]interface{}{
|
|
|
249
|
- "gridResult": listData,
|
|
|
250
|
- }
|
|
|
251
|
- msg = protocol.NewReturnResponse(rspData, nil)
|
245
|
+ msg = protocol.NewPageDataResponse(listData, nil)
|
252
|
return
|
246
|
return
|
253
|
} |
247
|
} |