更新
This commit is contained in:
parent
510912eb2e
commit
9fe15f40b3
@ -68,12 +68,12 @@ class StoreOrderBehalf extends BaseController
|
||||
public function lst()
|
||||
{
|
||||
[$page, $limit] = $this->getPage();
|
||||
$status = $this->request->param('status',0);
|
||||
$status = $this->request->param('status','all');
|
||||
|
||||
$uid = $this->request->userInfo()['uid'];
|
||||
$mer_id = Db::name('store_service')->where('uid', $uid)->where('is_del', 0)->value('mer_id');
|
||||
if ($mer_id) {
|
||||
if($status==0){
|
||||
if($status=='all'){
|
||||
$where=['status','>=',0];
|
||||
}else{
|
||||
$where=['status','=',$status];
|
||||
|
Loading…
x
Reference in New Issue
Block a user