消费统计订单管理
This commit is contained in:
@@ -216,6 +216,7 @@ class ProductOrder extends Model
|
||||
return $this->field('UpdateTime,OrderNo,OrderType,ProductName,PackageName,PaymentAmount,Accounts,ConnectCount,AccountCount,PayType,DayPrice as OrderAmount')
|
||||
->where(['UserId' => $user_id])
|
||||
->where($where)
|
||||
->where(['OrderState' => ['in', ProductOrderEnum::$PayComplete]])
|
||||
->order('Id desc')
|
||||
->fetchAll();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user