|
@@ -210,14 +210,14 @@ class ActivityController extends BaseController
|
|
|
$sendOrderId = getProp($user, 'send_order_id');
|
|
|
|
|
|
// 用户派单的信息是否跟创建该活动的子账号一致
|
|
|
- $qappAccountId = (int)getProp($activity, 'qapp_account_id');
|
|
|
- if ($qappAccountId && $sendOrderId) {
|
|
|
- $sendOrder = QappSendOrder::getSendOrderById($sendOrderId);
|
|
|
- $qappAccount = QappChannelAccount::getByAccount(getProp($sendOrder, 'account'));
|
|
|
- if ($qappAccountId !== (int)getProp($qappAccount, 'id')) {
|
|
|
- Utils::throwError(ErrorConst::ACTIVITY_INVALID);
|
|
|
- }
|
|
|
- }
|
|
|
+ // $qappAccountId = (int)getProp($activity, 'qapp_account_id');
|
|
|
+ // if ($qappAccountId && $sendOrderId) {
|
|
|
+ // $sendOrder = QappSendOrder::getSendOrderById($sendOrderId);
|
|
|
+ // $qappAccount = QappChannelAccount::getByAccount(getProp($sendOrder, 'account'));
|
|
|
+ // if ($qappAccountId !== (int)getProp($qappAccount, 'id')) {
|
|
|
+ // Utils::throwError(ErrorConst::ACTIVITY_INVALID);
|
|
|
+ // }
|
|
|
+ // }
|
|
|
|
|
|
// 活动开始时间判断
|
|
|
if (getProp($activity, 'start_time') > date('Y-m-d H:i:s')) {
|
|
@@ -573,7 +573,4 @@ class ActivityController extends BaseController
|
|
|
return view('pay.activity.pageSpreadAvtivity', $result_data);
|
|
|
}
|
|
|
|
|
|
- public function channelCustomActivityRecom(){
|
|
|
-
|
|
|
- }
|
|
|
}
|