|
@@ -36,6 +36,8 @@ class ApplyService extends BaseService
|
|
|
$lsShop = $ret['shop'] ?? [];
|
|
$lsShop = $ret['shop'] ?? [];
|
|
|
} else {
|
|
} else {
|
|
|
$mainId = $lsShop->mainId ?? 0;
|
|
$mainId = $lsShop->mainId ?? 0;
|
|
|
|
|
+ $lsShop->onlyCg = 0;
|
|
|
|
|
+ $lsShop->save();
|
|
|
$main = MainClass::getById($mainId, true);
|
|
$main = MainClass::getById($mainId, true);
|
|
|
if (empty($main)) {
|
|
if (empty($main)) {
|
|
|
util::fail('没有main信息');
|
|
util::fail('没有main信息');
|