|
@@ -23,19 +23,22 @@ type NewIndex struct {
|
|
|
*xweb.Action
|
|
|
newIndex xweb.Mapper `xweb:"/"` //首页改版
|
|
|
entServerTransfer xweb.Mapper `xweb:"/front/entServerTransfer/(.*)"` //企业服务中转
|
|
|
+ appDownload xweb.Mapper `xweb:"/front/appDownload"` //新app下载页面
|
|
|
}
|
|
|
|
|
|
-var entServerTransferMap map[string]map[bool]string
|
|
|
-var BiddingTypeUrl = map[int]string{
|
|
|
- 1: "/list/stype/ZBYG.html",
|
|
|
- 2: "/list/stype/ZBJG.html",
|
|
|
- 3: "/list/stype/CGYX.html",
|
|
|
- 6: "/list/stype/XMFB.html",
|
|
|
- 13: "/list/rmxm/",
|
|
|
- 14: "/list/xxxm/",
|
|
|
- 15: "/list/gjxm/",
|
|
|
- 16: "/list/sjxm/",
|
|
|
-}
|
|
|
+var (
|
|
|
+ entServerTransferMap map[string]map[bool]string
|
|
|
+ BiddingTypeUrl = map[int]string{
|
|
|
+ 1: "/list/stype/ZBYG.html",
|
|
|
+ 2: "/list/stype/ZBJG.html",
|
|
|
+ 3: "/list/stype/CGYX.html",
|
|
|
+ 6: "/list/stype/XMFB.html",
|
|
|
+ 13: "/list/rmxm/",
|
|
|
+ 14: "/list/xxxm/",
|
|
|
+ 15: "/list/gjxm/",
|
|
|
+ 16: "/list/sjxm/",
|
|
|
+ }
|
|
|
+)
|
|
|
|
|
|
func init() {
|
|
|
xweb.AddAction(&NewIndex{})
|
|
@@ -172,6 +175,11 @@ func (nIndex *NewIndex) EntServerTransfer(code string) {
|
|
|
_ = nIndex.Redirect(toUrl)
|
|
|
}
|
|
|
|
|
|
+func (nIndex *NewIndex) AppDownload() {
|
|
|
+ nIndex.T["includedInfo"] = GetIncludedInfo()
|
|
|
+ nIndex.Render("/frontRouter/pc/AppDownload/free/index.html", &nIndex.T)
|
|
|
+}
|
|
|
+
|
|
|
// 推荐标讯专区
|
|
|
func GetRecommendBidZone(typ int, pageSize int) (list []map[string]interface{}, typs string) {
|
|
|
if typ == 0 {
|