消费统计 订单
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
* @Author: kangkang
|
||||
* @Date: 2020-10-16 14:44:02
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @LastEditTime: 2020-11-28 16:41:50
|
||||
* @LastEditTime: 2020-11-28 17:05:56
|
||||
*/
|
||||
|
||||
namespace app\manager\model;
|
||||
@@ -213,7 +213,7 @@ class ProductOrder extends Model
|
||||
*/
|
||||
public function getUserCost($user_id, $index, $where = '')
|
||||
{
|
||||
return $this->field('UpdateTime,OrderNo,OrderType,ProductName,PackageName,PaymentAmount,Accounts,ConnectCount,AccountCount,PayType,OrderAmount')
|
||||
return $this->field('UpdateTime,OrderNo,OrderType,ProductName,PackageName,PaymentAmount,Accounts,ConnectCount,AccountCount,PayType,DayPrice as OrderAmount')
|
||||
->where(['UserId' => $user_id])
|
||||
->where($where)
|
||||
->order('Id desc')
|
||||
|
||||
Reference in New Issue
Block a user