|
|
|
@ -363,12 +363,12 @@ class PaySuccess extends BaseService |
|
|
|
|
private function activate(): void |
|
|
|
|
{ |
|
|
|
|
Db::table('yoshop_wx_server')->insertGetId(['content' => '修改会员信息开始', 'created_at' => date('Y-m-d H:i:s')]); |
|
|
|
|
$orderInfo = $this->orderInfo; |
|
|
|
|
$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')]); |
|
|
|
|
$orderInfo = $this->getOrderInfo(); |
|
|
|
|
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')]); |
|
|
|
|
$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']; |
|
|
|
|
$userType = $userInfo['user_type']; |
|
|
|
|