|
|
@@ -113,10 +113,8 @@ class SjService extends BaseService
|
|
|
if (isset($applyData['appRegister']) && $applyData['appRegister'] == 1) {
|
|
|
//$onlyCg = 0;
|
|
|
}
|
|
|
- $pt = !empty($applyData['introShopId']) ? 0 : 1;
|
|
|
- noticeUtil::push("introShopId:" . $applyData['introShopId'] . ",pt:" . $pt, '15280215347');
|
|
|
//给10天时间
|
|
|
- $deadTime = time() + 864000;
|
|
|
+ $deadTime = time()+864000;
|
|
|
//创建门店
|
|
|
$shopData = [
|
|
|
'shopName' => '首店',
|
|
|
@@ -144,9 +142,8 @@ class SjService extends BaseService
|
|
|
'ptStyle' => $ptStyle,
|
|
|
'live' => $live,
|
|
|
'onlyCg' => $onlyCg,
|
|
|
- 'deadline' => date("Y-m-d H:i:s", $deadTime),
|
|
|
- 'beforeDeadline' => date("Y-m-d H:i:s"),
|
|
|
- 'pt' => $pt,
|
|
|
+ 'deadline'=> date("Y-m-d H:i:s", $deadTime),
|
|
|
+ 'beforeDeadline'=> date("Y-m-d H:i:s"),
|
|
|
];
|
|
|
$shopInfo = ShopClass::addShop($shopData);
|
|
|
$shopId = $shopInfo->id;
|