...
|
...
|
@@ -232,6 +232,16 @@ class Order extends Api |
|
|
'status' => $params['status']
|
|
|
]
|
|
|
);
|
|
|
if ($params['status'] == 6) {
|
|
|
$OrderInfo = Db::name('order')->where('user_id', $UserId)->where('OrderSn', $params['OrderSn'])->find();
|
|
|
if ($OrderInfo['you'] > 0) {
|
|
|
Db::name('user')->where('id', $UserId)->update(
|
|
|
[
|
|
|
'is_new' => 1
|
|
|
]
|
|
|
);
|
|
|
}
|
|
|
}
|
|
|
//更改上级活动钱包减少待入账 增加待提现
|
|
|
$FuserId = Db::name('group')->where('user_id', $UserId)->value('fuser_id');
|
|
|
if (!empty($FuserId)) {
|
...
|
...
|
|