IndexController.class.php
2.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<?php
namespace Home\Controller;
use Common\Controller\BaseController;
class IndexController extends BaseController
{
public function _initialize()
{
parent::_initialize();
if (!cookie('token')) {
redirect(C('TMPL_PARSE_STRING.passporticsales'));
}
}
/**
* 后台管理首页
*/
public function index()
{
$datas['roll_banners'] = $this->apiBaseCache('pc_home_roll_banner', '', ''); // 合作平台
$this->assign('roll_banners', $datas['roll_banners']);
$this->display('Home/index');
}
/**
* 我的询价
*/
public function inquiry()
{
$this->display('QuotePrice/inquiry');
}
/**
* 发布询价
*/
public function releaseinquiry()
{
$this->display('QuotePrice/releaseinquiry');
}
/**
* 询价详情
*/
public function inquirydetail()
{
$this->display('QuotePrice/inquirydetail');
}
/**
* 我的报价
*/
public function quote()
{
$this->display('QuotePrice/quote');
}
/**
* 我的报价详情
*/
public function quotedetail()
{
$this->display('QuotePrice/quotedetail');
}
/**
* 抢单专区
*/
public function roborder()
{
$this->display('RobOrder/index');
}
/**
* 商品管理
*/
public function goodmanage()
{
$this->display('GoodManage/index');
}
/**
* 上传单个商品
*/
public function uploadsingle()
{
$this->display('GoodManage/uploadsingle');
}
/**
* 批量上传商品
*/
public function bulkupload()
{
$this->display('GoodManage/bulkupload');
}
/**
* 批量上传结果
*/
public function uploadresult()
{
$this->display('GoodManage/uploadresult');
}
/**
* 商品详情
*/
public function gooddetail()
{
$this->display('GoodManage/gooddetail');
}
/**
* 账户设置
*/
public function account()
{
$this->display('Account/index');
}
/**
* 积分管理
*/
public function integral()
{
$this->display('Integral/index');
}
/**
* 搜索结果
*/
public function search()
{
$this->display('Search/index');
}
/**
* 认证管理
*/
public function certification()
{
$this->display('Certification/index');
}
/**
* 通知
*/
public function notice()
{
$this->display('Notice/index');
}
/**
* 聊天
*/
public function chat()
{
$this->display('Chat/index');
}
}