正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -24,7 +24,7 @@ class PayController extends HomeBaseController | @@ -24,7 +24,7 @@ class PayController extends HomeBaseController | ||
24 | 'payment' => config('wechat_config.payment'), | 24 | 'payment' => config('wechat_config.payment'), |
25 | ]; | 25 | ]; |
26 | } | 26 | } |
27 | - | 27 | + |
28 | 28 | ||
29 | /** | 29 | /** |
30 | * 微信支付 | 30 | * 微信支付 |
@@ -126,7 +126,7 @@ class PayController extends HomeBaseController | @@ -126,7 +126,7 @@ class PayController extends HomeBaseController | ||
126 | $data_money_income_teacher['uid'] = $teacher['uid']; | 126 | $data_money_income_teacher['uid'] = $teacher['uid']; |
127 | Db::name('money_income') -> insert($data_money_income_teacher); | 127 | Db::name('money_income') -> insert($data_money_income_teacher); |
128 | } | 128 | } |
129 | - Db::name('my_user') -> where('uid',$teacher['uid']) -> setInc('balance',$money_salesman); | 129 | + Db::name('my_user') -> where('uid',$teacher['uid']) -> setInc('balance',$money_teacher); |
130 | } | 130 | } |
131 | //如果是平台商品 老师购买 | 131 | //如果是平台商品 老师购买 |
132 | if($data_user['status'] == 3){ | 132 | if($data_user['status'] == 3){ |
-
请 注册 或 登录 后发表评论