|
@@ -2255,7 +2255,7 @@ class UserUtils{
|
|
|
->update(['bank_name' => $bank_name, 'bank_card' => $bank_card, 'balance' => $balance, 'withdrawal_price' => $withdrawalPrice]);
|
|
|
}
|
|
|
|
|
|
- if(in_array($type, [7, 8, 9, 10, 11, 13, 19, 21, 22, 27, 30, 32, 10001])){
|
|
|
+ if(in_array($type, [7, 8, 9, 10, 11, 13, 19, 21, 22, 27, 30, 32, 101, 102, 10001])){
|
|
|
// 购买付费
|
|
|
$wd = WxUserFinancial::where('user_id', $user_id)->first();
|
|
|
if(_empty_($wd)){
|
|
@@ -2272,7 +2272,7 @@ class UserUtils{
|
|
|
|
|
|
$record = new WxUserFinancialRecord();
|
|
|
$record->user_id = $user_id;
|
|
|
- if(in_array($type, [2, 7, 8, 9, 10, 11, 13, 19, 21, 22, 27, 30, 32, 10001])){
|
|
|
+ if(in_array($type, [2, 7, 8, 9, 10, 11, 13, 19, 21, 22, 27, 30, 32, 101, 102, 10001])){
|
|
|
$record->num = -$nums;
|
|
|
}else{
|
|
|
$record->num = $nums;
|