Authored by 周少峰

Merge branch 'feature/senUrls'

... ... @@ -157,7 +157,7 @@ class seoModel extends model {
* 查看词根是否存在
*/
queryKeyword(keyword) {
return this.mysql.query(`select * from seo_keywords_root where keyword = '${keyword}' limit 1`).then(res => {
return this.mysql.query(`select * from seo_keywords_root where keyword = '${keyword}' and status = 1 limit 1`).then(res => {
return res;
});
}
... ...
... ... @@ -150,11 +150,6 @@ $(function(){
return;
}
if (msort == 0) {
alert('大分类必选');
return;
}
if (misort == 0) {
misort = msort;
}
... ...
... ... @@ -93,7 +93,6 @@
<th class="text-center">品类</th>
<th class="text-center">过滤词</th>
<th class="text-center">已拓词</th>
<th class="text-center">是关键词</th>
<th class="text-center" width="120">操作</th>
</tr>
</thead>
... ... @@ -107,7 +106,6 @@
<td>{{sort_name}}</td>
<td>{{filter_words}}</td>
<td>{{#if is_expand}}{{^}}{{/if}}</td>
<td>{{#if is_keyword}}{{^}}{{/if}}</td>
<td class="text-center">
<a href="javascript:delRootWords({{id}});" class="del-tdk-btn">删除</a>
</td>
... ...