Merge branch 'feature/user_repeat' into release

master
zhengyongxing 5 years ago
commit 2ff97a4f41

@ -247,9 +247,9 @@ class TestResourceController extends BaseController
parent::_initialize();
$map['id'] = get_pid();
$pro = M("promote", "tab_")->where($map)->find();
if ($pro['parent_id']!=0&&!($pro['parent_id']>0&&$pro['grand_id']==0)) {
$this->error('无权操作!');
}
// if ($pro['parent_id']!=0&&!($pro['parent_id']>0&&$pro['grand_id']==0)) {
// $this->error('无权操作!');
// }
}
public function index($p=0)

Loading…
Cancel
Save