Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zuiketang
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
zuiketang
Commits
9d0befab
Commit
9d0befab
authored
Sep 28, 2016
by
xiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改结构
parent
3fba7593
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
1 deletion
+42
-1
.gitignore
src/.gitignore
+0
-1
UserCenterController.php
src/frontend/controllers/UserCenterController.php
+14
-0
yii
src/yii
+28
-0
No files found.
src/.gitignore
View file @
9d0befab
# yii console command
/yii
# phpstorm project files
.idea
...
...
src/frontend/controllers/UserCenterController.php
View file @
9d0befab
...
...
@@ -57,5 +57,19 @@ class UserCenterController extends Controller
return
$this
->
render
(
'info'
);
}
public
function
actionCourse
()
{
return
$this
->
render
(
'course'
);
}
public
function
actionFavorite
()
{
return
$this
->
render
(
'favorite'
);
}
public
function
actionBrowseRecord
()
{
}
}
\ No newline at end of file
src/yii
0 → 100755
View file @
9d0befab
#!/usr/bin/env php
<?php
/**
* Yii console bootstrap file.
*
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
defined
(
'YII_DEBUG'
)
or
define
(
'YII_DEBUG'
,
true
);
defined
(
'YII_ENV'
)
or
define
(
'YII_ENV'
,
'dev'
);
require
(
__DIR__
.
'/vendor/autoload.php'
);
require
(
__DIR__
.
'/vendor/yiisoft/yii2/Yii.php'
);
require
(
__DIR__
.
'/common/config/bootstrap.php'
);
require
(
__DIR__
.
'/console/config/bootstrap.php'
);
$config
=
yii\helpers\ArrayHelper
::
merge
(
require
(
__DIR__
.
'/common/config/main.php'
),
require
(
__DIR__
.
'/common/config/main-local.php'
),
require
(
__DIR__
.
'/console/config/main.php'
),
require
(
__DIR__
.
'/console/config/main-local.php'
)
);
$application
=
new
yii\console\Application
(
$config
);
$exitCode
=
$application
->
run
();
exit
(
$exitCode
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment