作者 赵彬吉

update

@@ -51,10 +51,10 @@ class UpdateController extends BaseController @@ -51,10 +51,10 @@ class UpdateController extends BaseController
51 if (empty($info['company_en_description'])) { 51 if (empty($info['company_en_description'])) {
52 $this->fail('公司英文描述未设置'); 52 $this->fail('公司英文描述未设置');
53 } 53 }
54 - if (empty($info['keyword_prefix'])) { 54 + if (empty($info['keyword_prefix']) && !in_array(8, explode(',', $info['special']))) {
55 $this->fail('前缀关键词未设置'); 55 $this->fail('前缀关键词未设置');
56 } 56 }
57 - if (empty($info['keyword_suffix'])) { 57 + if (empty($info['keyword_suffix']) && !in_array(8, explode(',', $info['special']))) {
58 $this->fail('后缀关键词未设置'); 58 $this->fail('后缀关键词未设置');
59 } 59 }
60 try { 60 try {