作者 lyh

变更数据

@@ -222,7 +222,7 @@ class TicketUploadDataController extends BaseController @@ -222,7 +222,7 @@ class TicketUploadDataController extends BaseController
222 unset($this->param['search']); 222 unset($this->param['search']);
223 } 223 }
224 unset($this->map['type']); 224 unset($this->map['type']);
225 - $cate_list = $productCateModel->list($this->map, 'sort',['id','title']); 225 + $cate_list = $productCateModel->list($this->map, 'sort',['id','title','pid']);
226 if ($cate_list === false) { 226 if ($cate_list === false) {
227 $this->response('无分类'); 227 $this->response('无分类');
228 } 228 }
@@ -268,7 +268,7 @@ class TicketUploadDataController extends BaseController @@ -268,7 +268,7 @@ class TicketUploadDataController extends BaseController
268 $this->map['name'] = ['like' , '%' . $this->map['search'] . '%']; 268 $this->map['name'] = ['like' , '%' . $this->map['search'] . '%'];
269 unset($this->map['search']); 269 unset($this->map['search']);
270 } 270 }
271 - $cate_list = $newsCateModel->list($this->map, 'sort',['id','name as title']); 271 + $cate_list = $newsCateModel->list($this->map, 'sort',['id','name as title','pid']);
272 if ($cate_list === false) { 272 if ($cate_list === false) {
273 $this->response('error', Code::USER_ERROR); 273 $this->response('error', Code::USER_ERROR);
274 } 274 }
@@ -306,7 +306,7 @@ class TicketUploadDataController extends BaseController @@ -306,7 +306,7 @@ class TicketUploadDataController extends BaseController
306 $this->map['name'] = ['like' , '%' . $this->map['search'] . '%']; 306 $this->map['name'] = ['like' , '%' . $this->map['search'] . '%'];
307 unset($this->map['search']); 307 unset($this->map['search']);
308 } 308 }
309 - $cate_list = $newsCateModel->list($this->map, 'sort',['id','name as title']); 309 + $cate_list = $newsCateModel->list($this->map, 'sort',['id','name as title','pid']);
310 if ($cate_list === false) { 310 if ($cate_list === false) {
311 $this->response('error', Code::USER_ERROR); 311 $this->response('error', Code::USER_ERROR);
312 } 312 }