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

25

... ... @@ -194,6 +194,14 @@ class PayController extends HomeBaseController
}
Db::name('my_user') -> where('uid',$data_user['uid']) -> setInc('balance',$money_teacher);
}
cache('a1',"789");
$bird = new BirdController;
$createOrder = $bird -> createOrder($order['id']);
cache('yuyue1',$createOrder);
$takeOrder = $bird -> takeOrder($order['id']);
cache('dingyue1',$takeOrder);
}else if($order['indent_type'] == 2){
//如果是业务员订单
//查询平台商品老师和业务员所占的佣金比例
... ... @@ -301,12 +309,7 @@ class PayController extends HomeBaseController
Db::rollback();
}
cache('a1',"789");
$bird = new BirdController;
$createOrder = $bird -> createOrder($order['id']);
cache('yuyue1',$createOrder);
$takeOrder = $bird -> takeOrder($order['id']);
cache('dingyue1',$takeOrder);
}
return true; // 返回处理完成
});
... ...