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