$lang
->
appModule
->
cash
=
array
();
$lang
->
appModule
->
cash
[] =
'trade'
;
$lang
->
appModule
->
cash
[] =
'depositor'
;
$lang
->
appModule
->
cash
[] =
'balance'
;
$lang
->
appModule
->
cash
[] =
'provider'
;
$lang
->
appModule
->
brandscore
=
array
();
$lang
->
appModule
->
brandscore
[] =
'trade'
;
$lang
->
appModule
->
brandscore
[] =
'depositor'
;
$lang
->
appModule
->
brandscore
[] =
'balance'
;
$lang
->
appModule
->
brandscore
[] =
'provider'
;
我复制了一个CASH模块,为brandscore
设置成内置的,发现后面权限配置是按
/* Balance. */
$lang
->
resource
->
balance
=
new
stdclass();
$lang
->
resource
->
balance
->
browse
=
'browse'
;
$lang
->
resource
->
balance
->
create
=
'create'
;
$lang
->
resource
->
balance
->
edit
=
'edit'
;
$lang
->
resource
->
balance
->
delete
=
'delete'
;
内部的模块名对应的,比如balance,我修改后CASH和BRANDSCORE里面都有balance模块,无法分别配置权限,类推如果不同的大模块下不能有相同的模块名
回贴