作者 yangfu

角色服务修改

... ... @@ -11,9 +11,11 @@ type baseController struct {
func (controller *baseController) returnPageListData(count int64, data interface{}, err error, pageNumber int) {
dataMap := map[string]interface{}{
"totalRow": count,
"pageNumber": pageNumber,
"list": data,
"grid": map[string]interface{}{
"total": count,
//"pageNumber": pageNumber,
"list": data,
},
}
controller.Response(dataMap, err)
}
... ... @@ -36,9 +38,9 @@ func (controller *baseController) GetOrgId() int64 {
func (controller *baseController) GetOperator() domain.Operator {
return domain.Operator{
UserId: 1,
CompanyId: 1,
OrgId: 1,
UserId: 9,
CompanyId: 23,
OrgId: 45,
UserBaseId: 1,
}
}
... ...