更新
This commit is contained in:
parent
bd7326e35f
commit
fb2f2c6a86
@ -486,20 +486,20 @@ class StoreOrderCreateRepository extends StoreOrderRepository
|
|||||||
$platformConsumption=[];
|
$platformConsumption=[];
|
||||||
$consumption=[];
|
$consumption=[];
|
||||||
//消费金
|
//消费金
|
||||||
// if ($source == 103) {
|
if ($source == 103) {
|
||||||
// $ConsumptionWhere = [
|
$ConsumptionWhere = [
|
||||||
// 'uid' => $uid,
|
'uid' => $uid,
|
||||||
// 'start_time' => date('Y-m-d H:i:s'),
|
'start_time' => date('Y-m-d H:i:s'),
|
||||||
// 'status' => 0,
|
'status' => 0,
|
||||||
// 'is_fail' => 0
|
'is_fail' => 0
|
||||||
// ];
|
];
|
||||||
// $platformConsumption = Db::name('store_consumption_user')->where($ConsumptionWhere)->limit(100)->order('create_time', 'desc')
|
$platformConsumption = Db::name('store_consumption_user')->where($ConsumptionWhere)->limit(100)->order('create_time', 'desc')
|
||||||
// ->filed('uid,coupon_title,coupon_price')
|
->filed('uid,coupon_title,coupon_price')
|
||||||
// ->select();
|
->select();
|
||||||
// if($platformConsumption){
|
if($platformConsumption){
|
||||||
// $consumption=$platformConsumption[0];
|
$consumption=$platformConsumption[0];
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
// }
|
// }
|
||||||
|
|
||||||
$usePlatformCouponId = 0;
|
$usePlatformCouponId = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user