wang hou sheng 7 months ago
parent a353a1fae0
commit 6724ee3fc1
  1. 8
      app/api/service/identity/PaySuccess.php

@ -363,12 +363,12 @@ class PaySuccess extends BaseService
private function activate(): void private function activate(): void
{ {
Db::table('yoshop_wx_server')->insertGetId(['content' => '修改会员信息开始', 'created_at' => date('Y-m-d H:i:s')]); Db::table('yoshop_wx_server')->insertGetId(['content' => '修改会员信息开始', 'created_at' => date('Y-m-d H:i:s')]);
$orderInfo = $this->orderInfo; $orderInfo = $this->getOrderInfo();
$userInfo = $this->userInfo;
Db::table('yoshop_wx_server')->insertGetId(['content' => '会员信息', 'created_at' => date('Y-m-d H:i:s')]);
Db::table('yoshop_wx_server')->insertGetId(['content' => json_encode($userInfo), 'created_at' => date('Y-m-d H:i:s')]);
Db::table('yoshop_wx_server')->insertGetId(['content' => '订单信息', 'created_at' => date('Y-m-d H:i:s')]); Db::table('yoshop_wx_server')->insertGetId(['content' => '订单信息', 'created_at' => date('Y-m-d H:i:s')]);
Db::table('yoshop_wx_server')->insertGetId(['content' => json_encode($orderInfo), 'created_at' => date('Y-m-d H:i:s')]); Db::table('yoshop_wx_server')->insertGetId(['content' => json_encode($orderInfo), 'created_at' => date('Y-m-d H:i:s')]);
$userInfo = $this->getUserInfo();
Db::table('yoshop_wx_server')->insertGetId(['content' => '会员信息', 'created_at' => date('Y-m-d H:i:s')]);
Db::table('yoshop_wx_server')->insertGetId(['content' => json_encode($userInfo), 'created_at' => date('Y-m-d H:i:s')]);
//判断当前用户角色 //判断当前用户角色
$orderType = $orderInfo['order_type']; $orderType = $orderInfo['order_type'];
$userType = $userInfo['user_type']; $userType = $userInfo['user_type'];

Loading…
Cancel
Save