weizong song 2 years ago
parent 9ee9a23858
commit a371fa5210

@ -627,10 +627,11 @@ class OrdersController extends CommonController
public function recharge()
{
Log::channel("daily_customer_order_request")->info($this->customer->openid);
Log::channel("daily_customer_order_request")->info(request()->all());
$order = (new Orders())->with("project")->find(request()->order_id);
$openid = $this->customer->openid;
$unifiedOrder = new \UnifiedOrderPub();
$jsApi = new \JsApiPub();
$unifiedOrder = new \UnifiedOrderPub($order->project_id);
$jsApi = new \JsApiPub($order->project_id);
$recharge = (new Recharge())->create([
"customer_id" => $this->customer->id,
"money" => request()->money,

Loading…
Cancel
Save