Commit f24054c7 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/optimize' into 'master'

fix See merge request !272
parents 5e38fd2b 333d9ec7
...@@ -337,7 +337,7 @@ class FlashController extends BaseController ...@@ -337,7 +337,7 @@ class FlashController extends BaseController
$data = null; $data = null;
$group = Yii::$app->request->getGroup(); $group = Yii::$app->request->getGroup();
$platform_id = Yii::$app->request->get('platform_id', 0); $platform_id = Yii::$app->request->get('platform_id', 0);
$platform_id = Yii::$app->request->getPlatformId();
// if (User::AUTH_SUPER !== $group && $platform_id != Yii::$app->request->getPlatformId()) { // if (User::AUTH_SUPER !== $group && $platform_id != Yii::$app->request->getPlatformId()) {
// $msg = '暂无权限'; // $msg = '暂无权限';
// $code = -1; // $code = -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment