浏览代码

Merge branch 'feature/v4.8.67_wky' of qmx/jy into feature/v4.8.67

wangkaiyue 1 年之前
父节点
当前提交
d3eac06d9d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/jfw/modules/app/src/app/front/shorturl.go

+ 1 - 1
src/jfw/modules/app/src/app/front/shorturl.go

@@ -340,7 +340,7 @@ func (s *Short) Article(contentType, stype, id string) error {
 
 		if userId == "" {
 			var currentLocation []Navigation
-			if typeVal := util.ObjToString(obj["subtype"]); typeVal != "" {
+			if typeVal := util.ObjToString(obj["toptype"]); typeVal != "" {
 				if val := getSeoLocation(typeVal); val != nil {
 					currentLocation = append(currentLocation, *val)
 				}