|
@@ -277,8 +277,7 @@ class Role extends BaseController{
|
|
|
->field("a.*,b.action_data")
|
|
|
->withAttr('action_data', function ($val) {
|
|
|
return explode(',', $val);
|
|
|
- })
|
|
|
- ->where("a.id", $roleid)
|
|
|
+ })->where("a.id", $roleid)
|
|
|
->findOrEmpty();
|
|
|
|
|
|
return app_show(0, '请求成功', $res);
|