This commit is contained in:
mkm 2023-11-08 13:52:19 +08:00
parent 510912eb2e
commit 9fe15f40b3

View File

@ -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];