作者 anyv
1 个管道 的构建 通过 耗费 0 秒

5

@@ -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){