正在显示
14 个修改的文件
包含
27 行增加
和
19 行删除
@@ -11,7 +11,7 @@ use app\common\controller\Api; | @@ -11,7 +11,7 @@ use app\common\controller\Api; | ||
11 | */ | 11 | */ |
12 | class Cart extends Api | 12 | class Cart extends Api |
13 | { | 13 | { |
14 | - protected $noNeedLogin = ['*']; | 14 | +// protected $noNeedLogin = ['*']; |
15 | protected $noNeedRight = ['*']; | 15 | protected $noNeedRight = ['*']; |
16 | 16 | ||
17 | /** | 17 | /** |
@@ -17,7 +17,7 @@ use think\Db; | @@ -17,7 +17,7 @@ use think\Db; | ||
17 | */ | 17 | */ |
18 | class Classification extends Api | 18 | class Classification extends Api |
19 | { | 19 | { |
20 | - protected $noNeedLogin = ['*']; | 20 | +// protected $noNeedLogin = ['*']; |
21 | protected $noNeedRight = ['*']; | 21 | protected $noNeedRight = ['*']; |
22 | 22 | ||
23 | /** | 23 | /** |
@@ -14,7 +14,7 @@ use think\Db; | @@ -14,7 +14,7 @@ use think\Db; | ||
14 | */ | 14 | */ |
15 | class Index extends Api | 15 | class Index extends Api |
16 | { | 16 | { |
17 | - protected $noNeedLogin = ['*']; | 17 | +// protected $noNeedLogin = ['*']; |
18 | protected $noNeedRight = ['*']; | 18 | protected $noNeedRight = ['*']; |
19 | 19 | ||
20 | /** | 20 | /** |
@@ -17,7 +17,7 @@ use think\exception\PDOException; | @@ -17,7 +17,7 @@ use think\exception\PDOException; | ||
17 | class Order extends Api | 17 | class Order extends Api |
18 | { | 18 | { |
19 | protected $noNeedLogin = ['*']; | 19 | protected $noNeedLogin = ['*']; |
20 | - protected $noNeedRight = ['*']; | 20 | +// protected $noNeedRight = ['*']; |
21 | 21 | ||
22 | /** | 22 | /** |
23 | * @ApiTitle (订单列表) | 23 | * @ApiTitle (订单列表) |
@@ -10,7 +10,7 @@ use app\common\controller\Api; | @@ -10,7 +10,7 @@ use app\common\controller\Api; | ||
10 | class Rider extends Api | 10 | class Rider extends Api |
11 | { | 11 | { |
12 | protected $noNeedRight = ['*']; | 12 | protected $noNeedRight = ['*']; |
13 | - protected $noNeedLogin = ['*']; | 13 | +// protected $noNeedLogin = ['*']; |
14 | 14 | ||
15 | /** | 15 | /** |
16 | * @ApiTitle (骑手订单页) | 16 | * @ApiTitle (骑手订单页) |
@@ -16,8 +16,8 @@ use think\Db; | @@ -16,8 +16,8 @@ use think\Db; | ||
16 | */ | 16 | */ |
17 | class User extends Api | 17 | class User extends Api |
18 | { | 18 | { |
19 | - protected $noNeedLogin = ['*']; | ||
20 | -// protected $noNeedLogin = ['third']; | 19 | +// protected $noNeedLogin = ['*']; |
20 | + protected $noNeedLogin = ['third']; | ||
21 | protected $noNeedRight = '*'; | 21 | protected $noNeedRight = '*'; |
22 | 22 | ||
23 | public function _initialize() | 23 | public function _initialize() |
@@ -15,18 +15,18 @@ return array ( | @@ -15,18 +15,18 @@ return array ( | ||
15 | 'fixedpage' => 'dashboard', | 15 | 'fixedpage' => 'dashboard', |
16 | 'categorytype' => | 16 | 'categorytype' => |
17 | array ( | 17 | array ( |
18 | - 'default' => 'Default', | ||
19 | - 'page' => 'Page', | ||
20 | - 'article' => 'Article', | 18 | + 'default' => '默认', |
19 | + 'page' => '单页', | ||
20 | + 'article' => '文章', | ||
21 | 'test' => 'Test', | 21 | 'test' => 'Test', |
22 | ), | 22 | ), |
23 | 'configgroup' => | 23 | 'configgroup' => |
24 | array ( | 24 | array ( |
25 | - 'basic' => 'Basic', | ||
26 | - 'email' => 'Email', | ||
27 | - 'dictionary' => 'Dictionary', | ||
28 | - 'user' => 'User', | ||
29 | - 'example' => 'Example', | 25 | + 'basic' => '基础配置', |
26 | + 'email' => '邮件配置', | ||
27 | + 'dictionary' => '字典配置', | ||
28 | + 'user' => '会员配置', | ||
29 | + 'example' => '密钥配置', | ||
30 | ), | 30 | ), |
31 | 'mail_type' => '1', | 31 | 'mail_type' => '1', |
32 | 'mail_smtp_host' => 'smtp.qq.com', | 32 | 'mail_smtp_host' => 'smtp.qq.com', |
@@ -37,13 +37,15 @@ return array ( | @@ -37,13 +37,15 @@ return array ( | ||
37 | 'mail_from' => '10000@qq.com', | 37 | 'mail_from' => '10000@qq.com', |
38 | 'attachmentcategory' => | 38 | 'attachmentcategory' => |
39 | array ( | 39 | array ( |
40 | - 'category1' => 'Category1', | ||
41 | - 'category2' => 'Category2', | ||
42 | - 'custom' => 'Custom', | 40 | + 'category1' => '分类一', |
41 | + 'category2' => '分类二', | ||
42 | + 'custom' => '自定义', | ||
43 | ), | 43 | ), |
44 | 'user_agreement' => '<p>64645646564公开警告</p><p>;回来了框架</p>', | 44 | 'user_agreement' => '<p>64645646564公开警告</p><p>;回来了框架</p>', |
45 | 'privacy_agreement' => '<p>45315448</p><p>他房间后</p>', | 45 | 'privacy_agreement' => '<p>45315448</p><p>他房间后</p>', |
46 | 'notice' => '阿达萨达萨达撒旦撒旦', | 46 | 'notice' => '阿达萨达萨达撒旦撒旦', |
47 | 'advert' => '/assets/img/qrcode.png', | 47 | 'advert' => '/assets/img/qrcode.png', |
48 | 'invite_rule' => '啊实打实大苏打', | 48 | 'invite_rule' => '啊实打实大苏打', |
49 | + 'secret' => '', | ||
50 | + 'appid' => '', | ||
49 | ); | 51 | ); |
-
请 注册 或 登录 后发表评论