Skip to content

Commit 3650fb1

Browse files
committedDec 24, 2018
fix namespace bug
1 parent c5fc545 commit 3650fb1

10 files changed

+16
-15
lines changed
 

‎tph2/application/tph2/controller/Base.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// sjj zhuanqianfish@gmail.com
66
// 2014年9月18日
77
namespace app\tph2\Controller;
8-
use \think\Controller;
9-
use \think\Request;
8+
use think\Controller;
9+
use think\Request;
1010

1111
class Base extends Controller{
1212
public function _initialize()

‎tph2/application/tph2/controller/ControllerCode.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
// sjj zhuanqianfish@gmail.com
66
// 2014年9月18日
77
namespace app\tph2\Controller;
8-
use Think\Controller;
9-
use Think\Model;
10-
use Think\Request;
8+
use think\Controller;
9+
use think\Model;
10+
use think\Request;
1111

1212
class ControllerCode extends Base {
1313
public function index(){ //生成CRUD代码

‎tph2/application/tph2/controller/CreateLayout.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// sjj zhuanqianfish@gmail.com
66
// 2014年9月18日
77
namespace app\tph2\Controller;
8-
use Think\Controller;
9-
use Think\Model;
8+
use think\Controller;
9+
use think\Model;
1010

1111
//生成模块
1212
class CreateLayout extends Base {

‎tph2/application/tph2/controller/Index.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// sjj zhuanqianfish@gmail.com
66
// 2014年9月18日
77
namespace app\tph2\Controller;
8-
use \think\Controller;
8+
use think\Controller;
99

1010
class Index extends Base{
1111

‎tph2/application/tph2/controller/ModelCode.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
// sjj zhuanqianfish@gmail.com
88
// 2014年9月18日
99
namespace app\tph2\Controller;
10-
use Think\Controller;
10+
use think\Controller;
1111
use app\tph2\Controller\FileUtil;
12-
use Think\Request;
13-
use Think\Model;
12+
use think\Request;
13+
use think\Model;
1414

1515
class ModelCode extends Base {
1616

‎tph2/application/tph2/controller/ProjectConfig.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// sjj zhuanqianfish@gmail.com
66
// 2014年9月18日
77
namespace app\tph2\Controller;
8-
use \think\Controller;
8+
use think\Controller;
99

1010
class ProjectConfig extends Base{
1111

‎tph2/application/tph2/controller/ViewCode.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// sjj zhuanqianfish@gmail.com
88
// 2014年9月18日
99
namespace app\tph2\Controller;
10-
use Think\Controller;
10+
use think\Controller;
1111

1212
class ViewCode extends Base {
1313

‎tph2/application/tph2/controller/WedgitCode.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// sjj zhuanqianfish@gmail.com
66
// 2014年9月18日
77
namespace app\tph2\Controller;
8-
use Think\Controller;
9-
use Think\Model;
8+
use think\Controller;
9+
use think\Model;
1010

1111
//生成模块
1212
class WedgitCode extends Base {

‎tph2/db/tph.db

0 Bytes
Binary file not shown.

‎tph2/index.php

+1
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@
2929

3030
// 加载框架引导文件
3131
require __DIR__ . '/../../thinkphp/start.php';
32+

0 commit comments

Comments
 (0)
Please sign in to comment.