作者 潘浩文
1 个管道 的构建 通过 耗费 0 秒

个人中心接口设计

... ... @@ -46,7 +46,8 @@ class UserController extends RestBaseController
$where['p.user_id']=$userId;
if ($param['status']==2){
$where['o.to_post_status']=['in',[2,6]];
}else if ($param['status']!=""){
}
if ($param['status']!=""){
$where['o.to_post_status']=$param['status'];
}
$data=Db::name('order')
... ...