test
This commit is contained in:
parent
55e1aec664
commit
ec39c89e40
@ -326,7 +326,9 @@ class AdminController extends PublicController
|
|||||||
public function pubMessage()
|
public function pubMessage()
|
||||||
{
|
{
|
||||||
if ($this->tokenShop_id != C('powerId')) {
|
if ($this->tokenShop_id != C('powerId')) {
|
||||||
$dataList['shop_id'] = $_REQUEST['shop_id']; //非总管理员
|
$dataList['shop_id'] = $this->tokenShop_id; //非总管理员
|
||||||
|
} else {
|
||||||
|
$dataList['shop_id'] = $_REQUEST['shop_id'];
|
||||||
}
|
}
|
||||||
|
|
||||||
// 参数校验
|
// 参数校验
|
||||||
|
Loading…
Reference in New Issue
Block a user