edit-api-pay_list1
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user