|
@@ -46,22 +46,22 @@ type Front struct {
|
|
sess xweb.Mapper `xweb:"/front/sess/(.*)"` //微信跳转session登录
|
|
sess xweb.Mapper `xweb:"/front/sess/(.*)"` //微信跳转session登录
|
|
viewdemo xweb.Mapper `xweb:"/front/viewdemo"` //微信跳转session登录
|
|
viewdemo xweb.Mapper `xweb:"/front/viewdemo"` //微信跳转session登录
|
|
getpage xweb.Mapper `xweb:"/swordfish/getpage"`
|
|
getpage xweb.Mapper `xweb:"/swordfish/getpage"`
|
|
- wxsearch xweb.Mapper `xweb:"/swordfish/search"` //剑鱼微信查询
|
|
|
|
- wxsearchlist xweb.Mapper `xweb:"/swordfish/searchlist"` //剑鱼微信查询结果展示
|
|
|
|
- wxsearchlistPaging xweb.Mapper `xweb:"/swordfish/searchlist/paging"` //剑鱼微信查询结果展示--分页
|
|
|
|
- delWxHistorySearch xweb.Mapper `xweb:"/swordfish/delWxHistorySearch"` //剑鱼微信删除历史搜索
|
|
|
|
|
|
+ wxsearch xweb.Mapper `xweb:"/swordfish/search"` //剑鱼标讯微信查询
|
|
|
|
+ wxsearchlist xweb.Mapper `xweb:"/swordfish/searchlist"` //剑鱼标讯微信查询结果展示
|
|
|
|
+ wxsearchlistPaging xweb.Mapper `xweb:"/swordfish/searchlist/paging"` //剑鱼标讯微信查询结果展示--分页
|
|
|
|
+ delWxHistorySearch xweb.Mapper `xweb:"/swordfish/delWxHistorySearch"` //剑鱼标讯微信删除历史搜索
|
|
ajaxReq xweb.Mapper `xweb:"/member/swordfish/ajaxReq"`
|
|
ajaxReq xweb.Mapper `xweb:"/member/swordfish/ajaxReq"`
|
|
wxpushView xweb.Mapper `xweb:"/wxpush/wxpushview"` //推送结果预览
|
|
wxpushView xweb.Mapper `xweb:"/wxpush/wxpushview"` //推送结果预览
|
|
wxpushViewPaging xweb.Mapper `xweb:"/wxpush/wxpushview/paging"` //推送结果预览--分页
|
|
wxpushViewPaging xweb.Mapper `xweb:"/wxpush/wxpushview/paging"` //推送结果预览--分页
|
|
guide xweb.Mapper `xweb:"/swordfish/guide/(.*)"`
|
|
guide xweb.Mapper `xweb:"/swordfish/guide/(.*)"`
|
|
share xweb.Mapper `xweb:"/swordfish/share/([^.]*)"`
|
|
share xweb.Mapper `xweb:"/swordfish/share/([^.]*)"`
|
|
- wxprotocol xweb.Mapper `xweb:"/swordfish/wxprotocol"` //微信剑鱼协议
|
|
|
|
|
|
+ wxprotocol xweb.Mapper `xweb:"/swordfish/wxprotocol"` //微信剑鱼标讯协议
|
|
delc xweb.Mapper `xweb:"/delcache/(.+)"` //删除模板缓存
|
|
delc xweb.Mapper `xweb:"/delcache/(.+)"` //删除模板缓存
|
|
wxpushListInfo xweb.Mapper `xweb:"/wxpush/bidinfo/(.*)"` //推送列表
|
|
wxpushListInfo xweb.Mapper `xweb:"/wxpush/bidinfo/(.*)"` //推送列表
|
|
feedback xweb.Mapper `xweb:"/swordfish/feedback"` //意见反馈
|
|
feedback xweb.Mapper `xweb:"/swordfish/feedback"` //意见反馈
|
|
wxpushAjaxReq xweb.Mapper `xweb:"/wxpush/bid/ajaxReq"`
|
|
wxpushAjaxReq xweb.Mapper `xweb:"/wxpush/bid/ajaxReq"`
|
|
- newSordfish xweb.Mapper `xweb:"/"` //剑鱼pc首页
|
|
|
|
- searchinfolist xweb.Mapper `xweb:"/swordfish/searchinfolist(.*).html"` //剑鱼pc查询
|
|
|
|
|
|
+ newSordfish xweb.Mapper `xweb:"/"` //剑鱼标讯pc首页
|
|
|
|
+ searchinfolist xweb.Mapper `xweb:"/swordfish/searchinfolist(.*).html"` //剑鱼标讯pc查询
|
|
about xweb.Mapper `xweb:"/swordfish/about"`
|
|
about xweb.Mapper `xweb:"/swordfish/about"`
|
|
shareabout xweb.Mapper `xweb:"/swordfish/shareabout/([^.]*)"`
|
|
shareabout xweb.Mapper `xweb:"/swordfish/shareabout/([^.]*)"`
|
|
getIndexData xweb.Mapper `xweb:"/front/index.*"`
|
|
getIndexData xweb.Mapper `xweb:"/front/index.*"`
|
|
@@ -79,10 +79,10 @@ type Front struct {
|
|
behaviorRecord xweb.Mapper `xweb:"/member/behaviorRecord"` //记录用户点击的关键词
|
|
behaviorRecord xweb.Mapper `xweb:"/member/behaviorRecord"` //记录用户点击的关键词
|
|
tSGuide xweb.Mapper `xweb:"/front/tenderSubscribe/guide"` //引导页
|
|
tSGuide xweb.Mapper `xweb:"/front/tenderSubscribe/guide"` //引导页
|
|
transfer xweb.Mapper `xweb:"/front/transfer"` //原文链接中转
|
|
transfer xweb.Mapper `xweb:"/front/transfer"` //原文链接中转
|
|
- jyblog xweb.Mapper `xweb:"/jyblog/index([^.]*).html"` //剑鱼博客
|
|
|
|
- jybdetail xweb.Mapper `xweb:"/jyblog/([^.]*).html"` //剑鱼博客三级页
|
|
|
|
- blogpraise xweb.Mapper `xweb:"/jyblog/blogpraise"` //剑鱼博客三级页点赞
|
|
|
|
- searchResult xweb.Mapper `xweb:"/list/(\\w+)/(\\w+).html"` //剑鱼分类 地区结果列表
|
|
|
|
|
|
+ jyblog xweb.Mapper `xweb:"/jyblog/index([^.]*).html"` //剑鱼标讯博客
|
|
|
|
+ jybdetail xweb.Mapper `xweb:"/jyblog/([^.]*).html"` //剑鱼标讯博客三级页
|
|
|
|
+ blogpraise xweb.Mapper `xweb:"/jyblog/blogpraise"` //剑鱼标讯博客三级页点赞
|
|
|
|
+ searchResult xweb.Mapper `xweb:"/list/(\\w+)/(\\w+).html"` //剑鱼标讯分类 地区结果列表
|
|
encrypt xweb.Mapper `xweb:"/share/encrypt"` //分享三级页加密
|
|
encrypt xweb.Mapper `xweb:"/share/encrypt"` //分享三级页加密
|
|
historypush xweb.Mapper `xweb:"/swordfish/historypush"` //历时推送记录
|
|
historypush xweb.Mapper `xweb:"/swordfish/historypush"` //历时推送记录
|
|
historypushPaging xweb.Mapper `xweb:"/swordfish/historypush/paging"` //历时推送记录--分页
|
|
historypushPaging xweb.Mapper `xweb:"/swordfish/historypush/paging"` //历时推送记录--分页
|
|
@@ -93,7 +93,7 @@ type Front struct {
|
|
/********************wxkeyset:v1.8**************************/
|
|
/********************wxkeyset:v1.8**************************/
|
|
wxKeysetAjaxReq xweb.Mapper `xweb:"/wxkeyset/ajaxReq"` //订阅词ajax请求
|
|
wxKeysetAjaxReq xweb.Mapper `xweb:"/wxkeyset/ajaxReq"` //订阅词ajax请求
|
|
wxKeyset xweb.Mapper `xweb:"/wxkeyset/keyset/(\\w+)"` //订阅词设置
|
|
wxKeyset xweb.Mapper `xweb:"/wxkeyset/keyset/(\\w+)"` //订阅词设置
|
|
- subscribe xweb.Mapper `xweb:"/front/subscribe.html"` //电脑版剑鱼设置
|
|
|
|
|
|
+ subscribe xweb.Mapper `xweb:"/front/subscribe.html"` //电脑版剑鱼标讯设置
|
|
gethotkey xweb.Mapper `xweb:"/front/gethotkey"` //获取热词
|
|
gethotkey xweb.Mapper `xweb:"/front/gethotkey"` //获取热词
|
|
rediskw xweb.Mapper `xweb:"/front/rediskw"` //pc订阅词存redis
|
|
rediskw xweb.Mapper `xweb:"/front/rediskw"` //pc订阅词存redis
|
|
notin xweb.Mapper `xweb:"/notin/page"` //未登录用户访问三级页中转页
|
|
notin xweb.Mapper `xweb:"/notin/page"` //未登录用户访问三级页中转页
|
|
@@ -106,7 +106,7 @@ type Front struct {
|
|
advservices xweb.Mapper `xweb:"/front/advservices.html"` //广告服务
|
|
advservices xweb.Mapper `xweb:"/front/advservices.html"` //广告服务
|
|
extension xweb.Mapper `xweb:"/extension/(.*).html"` //推广页面
|
|
extension xweb.Mapper `xweb:"/extension/(.*).html"` //推广页面
|
|
recInof xweb.Mapper `xweb:"/front/recovery/info"` //纠错记录
|
|
recInof xweb.Mapper `xweb:"/front/recovery/info"` //纠错记录
|
|
- downloadJyApp xweb.Mapper `xweb:"/front/downloadJyApp"` //下载剑鱼app的中转地址
|
|
|
|
|
|
+ downloadJyApp xweb.Mapper `xweb:"/front/downloadJyApp"` //下载剑鱼标讯app的中转地址
|
|
downloadJyAppQr xweb.Mapper `xweb:"/front/downloadJyApp/qr"` //扫码下载
|
|
downloadJyAppQr xweb.Mapper `xweb:"/front/downloadJyApp/qr"` //扫码下载
|
|
limitSearchText xweb.Mapper `xweb:"/front/limitSearchText"` //扫码下载
|
|
limitSearchText xweb.Mapper `xweb:"/front/limitSearchText"` //扫码下载
|
|
hpshare xweb.Mapper `xweb:"/front/homepage/wxshare"` //扫码分享
|
|
hpshare xweb.Mapper `xweb:"/front/homepage/wxshare"` //扫码分享
|
|
@@ -485,7 +485,7 @@ func (f *Front) Followinfo() error {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if f.GetSession("RSource") == nil || util.ObjToString(f.GetSession("RSource")) == "" {
|
|
if f.GetSession("RSource") == nil || util.ObjToString(f.GetSession("RSource")) == "" {
|
|
- f.SetSession("RSource", "剑鱼网站")
|
|
|
|
|
|
+ f.SetSession("RSource", "剑鱼标讯网站")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
userData["RSource"] = f.GetSession("RSource")
|
|
userData["RSource"] = f.GetSession("RSource")
|
|
@@ -660,7 +660,7 @@ func (m *Front) Onekey() error {
|
|
if len([]rune(value)) > 200 {
|
|
if len([]rune(value)) > 200 {
|
|
value = util.SubString(value, 0, 200)
|
|
value = util.SubString(value, 0, 200)
|
|
}
|
|
}
|
|
- data["s_remark"] = "剑鱼-一键报告排版问题\n" + value
|
|
|
|
|
|
+ data["s_remark"] = "剑鱼标讯-一键报告排版问题\n" + value
|
|
data["s_mop"] = m.GetString("mop") //来源:移动端or电脑端
|
|
data["s_mop"] = m.GetString("mop") //来源:移动端or电脑端
|
|
data["s_title"] = m.GetString("title")
|
|
data["s_title"] = m.GetString("title")
|
|
data["i_status"] = 0
|
|
data["i_status"] = 0
|
|
@@ -817,7 +817,7 @@ func (m *Front) Viewdemo() {
|
|
m.Redirect("/swordfish/guide/-1")
|
|
m.Redirect("/swordfish/guide/-1")
|
|
}
|
|
}
|
|
|
|
|
|
-//剑鱼用户协议
|
|
|
|
|
|
+//剑鱼标讯用户协议
|
|
func (m *Front) Wxprotocol() error {
|
|
func (m *Front) Wxprotocol() error {
|
|
return m.Render("/weixin/wxprotocol.html")
|
|
return m.Render("/weixin/wxprotocol.html")
|
|
}
|
|
}
|
|
@@ -915,15 +915,15 @@ func (m *Front) Feedback() error {
|
|
fromName := m.GetString("fromName")
|
|
fromName := m.GetString("fromName")
|
|
if fromName != "" {
|
|
if fromName != "" {
|
|
if fromName == "zndy" {
|
|
if fromName == "zndy" {
|
|
- fromName = "剑鱼实验室-智能订阅"
|
|
|
|
|
|
+ fromName = "剑鱼标讯实验室-智能订阅"
|
|
} else if fromName == "sjdc" {
|
|
} else if fromName == "sjdc" {
|
|
- fromName = "剑鱼实验室-数据导出"
|
|
|
|
|
|
+ fromName = "剑鱼标讯实验室-数据导出"
|
|
} else if fromName == "cjss" {
|
|
} else if fromName == "cjss" {
|
|
- fromName = "剑鱼实验室-超级搜索"
|
|
|
|
|
|
+ fromName = "剑鱼标讯实验室-超级搜索"
|
|
} else if fromName == "zbqy" {
|
|
} else if fromName == "zbqy" {
|
|
- fromName = "剑鱼实验室-中标企业"
|
|
|
|
|
|
+ fromName = "剑鱼标讯实验室-中标企业"
|
|
} else if fromName == "gzqy" {
|
|
} else if fromName == "gzqy" {
|
|
- fromName = "剑鱼实验室-关注企业"
|
|
|
|
|
|
+ fromName = "剑鱼标讯实验室-关注企业"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
_, m.T["advertText"] = getRewardText()
|
|
_, m.T["advertText"] = getRewardText()
|