1.排队测试
This commit is contained in:
parent
619aef0727
commit
6376653609
@ -77,6 +77,7 @@ class Billions extends Api
|
||||
public function rechargeBalance()
|
||||
{
|
||||
$order['order_amount'] = 100;
|
||||
$order['id'] = 1;
|
||||
$result = PayNotifyLogic::handle('recharge_billions', $order, 196);
|
||||
// $post = $this->request->post();
|
||||
// $result = BillionsLogic::applyBillionsBalance($this->user_id, $post);
|
||||
|
||||
@ -418,9 +418,9 @@ class PayNotifyLogic
|
||||
$donglonghui = 5; //东龙汇服务费
|
||||
$other_leader = 3; //分公司收入 如没有则并入东龙汇
|
||||
$shop_com = 60; // 商家获取收入
|
||||
$user = Db::name("user")->where(['id' => $user_id])->find();
|
||||
$is_d = Distribution::where('user_id', $user['first_leader'] )->where('is_distribution', 1 )->find();
|
||||
var_dump(111);
|
||||
$user = Db::name("user")->where(['id' => $user_id])->find();var_dump($user);
|
||||
$is_d = Distribution::where('user_id', $user['first_leader'] )->where('is_distribution', 1 )->find();var_dump($is_d);
|
||||
$data['order_price'] = $order['order_amount']; // 改为充值金额
|
||||
$data['user_id'] = $user_id;
|
||||
$data['goods_id'] = 0; // 充值接口不需要该参数
|
||||
|
||||
Loading…
Reference in New Issue
Block a user