...
|
...
|
@@ -24,7 +24,7 @@ class PayController extends HomeBaseController |
|
|
'payment' => config('wechat_config.payment'),
|
|
|
];
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 微信支付
|
...
|
...
|
@@ -126,7 +126,7 @@ class PayController extends HomeBaseController |
|
|
$data_money_income_teacher['uid'] = $teacher['uid'];
|
|
|
Db::name('money_income') -> insert($data_money_income_teacher);
|
|
|
}
|
|
|
Db::name('my_user') -> where('uid',$teacher['uid']) -> setInc('balance',$money_salesman);
|
|
|
Db::name('my_user') -> where('uid',$teacher['uid']) -> setInc('balance',$money_teacher);
|
|
|
}
|
|
|
//如果是平台商品 老师购买
|
|
|
if($data_user['status'] == 3){
|
...
|
...
|
|