edit-api-pay_list1

This commit is contained in:
lccsw
2021-12-14 15:02:17 +08:00
parent e18a5101b8
commit 96b2922abc
2 changed files with 2 additions and 2 deletions
+2
View File
@@ -118,6 +118,7 @@ class Order extends Wxapp{
$uid = $this->session['uid'];
$page = $this->input_param('page');
$size = $this->input_param('size');
$oid = $this->input_param('oid');
!$page && $page = 1;
!$size && $size = 10;
@@ -127,6 +128,7 @@ class Order extends Wxapp{
'pid' => 0,
'status>=' => 0
];
$oid && $where['o_id'] = $oid;
$total = $this->app_liche_orders_model->count($where);
if($total){
$fileds = 'id,o_id,sid,brand_id,s_id,v_id,cor_id,incor_id';
-2
View File
@@ -236,7 +236,6 @@ class User extends Wxapp{
$page = $this->input_param('page');
$size = $this->input_param('size');
$oid = $this->input_param('oid');
!$page && $page = 1;
!$size && $size = 10;
$mobile = $this->session['mobile'];
@@ -245,7 +244,6 @@ class User extends Wxapp{
"(mobile={$mobile} or (ifentrust=1 and json_extract(info_json,'$.entrust_mobile')='{$mobile}'))" => null,
"status" => 6,
];
$oid && $where['o_id'] = $oid;
$count = $this->orders_model->count($where);
$lists = [];
if($count){