|
@@ -66,7 +66,7 @@ class MerchantService extends BaseService
|
|
|
$sjId = $sj->id;
|
|
$sjId = $sj->id;
|
|
|
$sjName = $sj->name ?? 0;
|
|
$sjName = $sj->name ?? 0;
|
|
|
$mobile = $applyData['mobile'] ?? '';
|
|
$mobile = $applyData['mobile'] ?? '';
|
|
|
- $ptStyle = $applyData['style'] ?? dict::getDict('ptStyle', 'hd');
|
|
|
|
|
|
|
+ $ptStyle = $applyData['style'] ?? dict::getDict('ptStyle', 'ghs');
|
|
|
|
|
|
|
|
if (!empty($applyId) && $applyThis) {
|
|
if (!empty($applyId) && $applyThis) {
|
|
|
ApplyClass::updateById($applyId, ['sjId' => $sjId]);
|
|
ApplyClass::updateById($applyId, ['sjId' => $sjId]);
|
|
@@ -111,10 +111,9 @@ class MerchantService extends BaseService
|
|
|
'gradeList' => '1_2000_0.9I2_5000_0.88I3_10000_0.85I4_20000_0.8',//1 级会员需要满 2000 积分 购物享9折;2 级会员需要满 5000 积分 购物享88折
|
|
'gradeList' => '1_2000_0.9I2_5000_0.88I3_10000_0.85I4_20000_0.8',//1 级会员需要满 2000 积分 购物享9折;2 级会员需要满 5000 积分 购物享88折
|
|
|
];
|
|
];
|
|
|
MerchantExtendClass::add($extendData);
|
|
MerchantExtendClass::add($extendData);
|
|
|
-
|
|
|
|
|
MerchantInitClass::add(['sjId' => $sjId]);
|
|
MerchantInitClass::add(['sjId' => $sjId]);
|
|
|
|
|
|
|
|
- //给10天时间
|
|
|
|
|
|
|
+ //给10天试用时间
|
|
|
$deadTime = time()+864000;
|
|
$deadTime = time()+864000;
|
|
|
//创建门店
|
|
//创建门店
|
|
|
$shopData = [
|
|
$shopData = [
|