diff --git a/app/api/controller/ShopCallController.php b/app/api/controller/ShopCallController.php index 80c6d9e1..c24d3be3 100644 --- a/app/api/controller/ShopCallController.php +++ b/app/api/controller/ShopCallController.php @@ -37,10 +37,11 @@ class ShopCallController extends BaseApiController if (null === $requestDatas) { return $this->fail('非法访问,解析失败'); } - $inviteCode = $requestDatas['promotion_code']; // 推广码 - $orderMoney= $requestDatas['order_money']; // 订单金额 - $orderNo = $requestDatas['order_no']; // 订单金额 - $orderId = $requestDatas['order_id']; // 订单id + + $inviteCode = $requestDatas['data']['promotion_code']; // 推广码 + $orderMoney= $requestDatas['data']['order_money']; // 订单金额 + $orderNo = $requestDatas['data']['order_sn']; // 订单金额 + $orderId = $requestDatas['data']['order_id']; // 订单id // 推广人 $userSelf = UserLogic::getUserByInviteCode($inviteCode);