|
@@ -22,8 +22,8 @@ func (c *AppPermitController) BeforeActivation(b mvc.BeforeActivation) {
|
|
|
|
|
|
|
|
func (c *AppPermitController) GetList() *JsonResult {
|
|
func (c *AppPermitController) GetList() *JsonResult {
|
|
|
params := c.buildParams()
|
|
params := c.buildParams()
|
|
|
- appId := c.Ctx.URLParamInt64Default("appId", 0)
|
|
|
|
|
- params["appId"] = appId
|
|
|
|
|
|
|
+ appKey := c.GetAppKey()
|
|
|
|
|
+ params["appKey"] = appKey
|
|
|
roleId := c.Ctx.URLParamInt64Default("roleId", 0)
|
|
roleId := c.Ctx.URLParamInt64Default("roleId", 0)
|
|
|
params["roleId"] = roleId
|
|
params["roleId"] = roleId
|
|
|
data, err := c.Service.GetList(params)
|
|
data, err := c.Service.GetList(params)
|