浏览代码

feat:提交

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

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

@@ -32,7 +32,7 @@ type Short struct {
 	*xweb.Action
 	//article xweb.Mapper `xweb:"/jyapp/article/(\\w+)/(.*).html"` //([pm])
 	article     xweb.Mapper `xweb:"/jyapp/(article|nologin)/(\\w+)/(.*).html"` //([pm])
-	replication xweb.Mapper `xweb:"/jyapp/shorturl/replication"` //用户复制操作记录入库
+	replication xweb.Mapper `xweb:"/jyapp/shorturl/replication"`               //用户复制操作记录入库
 }
 
 func init() {
@@ -65,7 +65,7 @@ var TypeCodeMap = map[string]string{
 	"违规":   "违规信息",
 }
 
-func (s *Short) Article( stype, id string) error {
+func (s *Short) Article(contentType, stype, id string) error {
 	//先判断是否有session
 	userId, _ := s.GetSession("userId").(string)
 	log.Printf("三级页userid:%s", userId)