Forráskód Böngészése

fix:删除地区确认、删除医疗药品词

wangkaiyue 2 éve
szülő
commit
aef4173271

+ 1 - 1
src/jfw/front/tags.go

@@ -387,7 +387,7 @@ func (this *Tags) GetIndustry(industryHref string) interface{} {
 	if l := redis.Get("other", rediskey); l != nil {
 		return l
 	} else {
-		data := public.BaseMysql.SelectBySql(`select a.id,a.name,b.id class_id,b.name class_1 from seo_words.seo_industry a left join  seo_words.seo_industry_class b on a.class_1=b.name order by a.class_1`)
+		data := public.BaseMysql.SelectBySql(`select a.id,a.name,b.id class_id,b.name class_1 from seo_words.seo_industry a inner join  seo_words.seo_industry_class b on a.class_1=b.name and  a.class_2 !='药品'  order by a.class_1`)
 		industryArr := []string{}
 		industryMap := map[string][]map[string]interface{}{}
 		if len(*data) > 0 && data != nil {

+ 4 - 4
src/web/templates/pc/tags/template/area-selector.html

@@ -14,10 +14,10 @@
                             <a class="city-item city" href="{{$vv.url}}" data-c-name="{{$vv.name}}">{{$vv.name}}</a>
                         {{end}}
                     </div>
-                    <div class="city-list-footer" style="display: none">
-                        <button class="action-button confirm">确定</button>
-                        <button class="action-button cancel">取消</button>
-                    </div>
+<!--                    <div class="city-list-footer" style="display: none">-->
+<!--                        <button class="action-button confirm">确定</button>-->
+<!--                        <button class="action-button cancel">取消</button>-->
+<!--                    </div>-->
                 </div>
             </div>
         {{end}}