Commit 4dfb4b75 by doszhang

dos

parent c4a7074a
...@@ -10,7 +10,7 @@ use Think\Log; ...@@ -10,7 +10,7 @@ use Think\Log;
class IndexController extends Controller class IndexController extends Controller
{ {
private $auth_type = OAuthHelperV3::SCOPE_BASE; private $auth_type = OAuthHelperV3::SCOPE_USERINFO;
// private $auth_type = OAuthHelperV3::SCOPE_USERINFO; // private $auth_type = OAuthHelperV3::SCOPE_USERINFO;
private $cookie_uid_key = 'mtime-laopao-v1'; private $cookie_uid_key = 'mtime-laopao-v1';
private $debug = 1; private $debug = 1;
...@@ -267,7 +267,7 @@ class IndexController extends Controller ...@@ -267,7 +267,7 @@ class IndexController extends Controller
$url = $qiniu->downlink($fileName); $url = $qiniu->downlink($fileName);
return $url; return $url;
} }
public function prize() public function prize()
{ {
for ($i = 0; $i < 10; $i++) { for ($i = 0; $i < 10; $i++) {
......
...@@ -29,9 +29,7 @@ class BaseUserController extends BackendController ...@@ -29,9 +29,7 @@ class BaseUserController extends BackendController
['id' => 1, 'parent_id' => 0, 'title' => '数据统计', 'url' => 'User/Report/index', 'seq' => 1, ['id' => 1, 'parent_id' => 0, 'title' => '数据统计', 'url' => 'User/Report/index', 'seq' => 1,
'default' => true, 'match_type' => 'url', 'children' => null, 'css_class' => null], 'default' => true, 'match_type' => 'url', 'children' => null, 'css_class' => null],
['id' => 2, 'parent_id' => 0, 'title' => '中奖信息', 'url' => 'User/Check/index', 'seq' => 1, ['id' => 2, 'parent_id' => 0, 'title' => '中奖信息', 'url' => 'User/Check/index', 'seq' => 1,
'default' => false, 'match_type' => 'url', 'children' => null, 'css_class' => null], 'default' => false, 'match_type' => 'url', 'children' => null, 'css_class' => null]
['id' => 3, 'parent_id' => 0, 'title' => '照片', 'url' => 'User/Photo/index', 'seq' => 1,
'default' => false, 'match_type' => 'url', 'children' => null, 'css_class' => null],
]; ];
$tree = $this->buildTreeChildren($item_list, 0); $tree = $this->buildTreeChildren($item_list, 0);
return $tree; return $tree;
......
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 sign in to comment