|
@@ -66,6 +66,9 @@ class CmsContentTemplateRepository {
|
|
*/
|
|
*/
|
|
public function edit($request)
|
|
public function edit($request)
|
|
{
|
|
{
|
|
|
|
+ if ($request['city_id'] == 610100 && $request['is_open'] == 0){
|
|
|
|
+ throw new HttpException(500, '西安的模板不允许手动关闭');
|
|
|
|
+ }
|
|
if ($request['is_open']==0){
|
|
if ($request['is_open']==0){
|
|
$where = [
|
|
$where = [
|
|
'apply_type'=>$request['apply_type'],
|
|
'apply_type'=>$request['apply_type'],
|