|
@@ -23,24 +23,24 @@ import (
|
|
|
|
|
|
type WxDataExport struct {
|
|
|
*xweb.Action
|
|
|
- toSieve xweb.Mapper `xweb:"/front/wx_dataExport/toSieve"` //微信数据导出
|
|
|
- saveData xweb.Mapper `xweb:"/front/wx_dataExport/saveData"` //保存筛选数据
|
|
|
- area xweb.Mapper `xweb:"/front/wx_dataExport/area"` //区域
|
|
|
- industry xweb.Mapper `xweb:"/front/wx_dataExport/industry"` //行业
|
|
|
- buyerclass xweb.Mapper `xweb:"/front/wx_dataExport/buyerclass"` //采购单位类型
|
|
|
- keyWord xweb.Mapper `xweb:"/front/wx_dataExport/keyWord"` //关键词
|
|
|
- keyWordInput xweb.Mapper `xweb:"/front/wx_dataExport/keyWordInput"` //关键词输入
|
|
|
- appended xweb.Mapper `xweb:"/front/wx_dataExport/appended"` //附加词
|
|
|
- appendedInput xweb.Mapper `xweb:"/front/wx_dataExport/appendedInput"` //附加词输入
|
|
|
- exclude xweb.Mapper `xweb:"/front/wx_dataExport/exclude"` //排除词
|
|
|
- excludeInput xweb.Mapper `xweb:"/front/wx_dataExport/excludeInput"` //排除词输入
|
|
|
- price xweb.Mapper `xweb:"/front/wx_dataExport/price"` //金额
|
|
|
- subType xweb.Mapper `xweb:"/front/wx_dataExport/subType"` //信息类型
|
|
|
- buyerEdit xweb.Mapper `xweb:"/front/wx_dataExport/buyerEdit"` //采购单位编辑
|
|
|
- buyerInput xweb.Mapper `xweb:"/front/wx_dataExport/buyerInput"` //采购单位输入
|
|
|
- winnerEdit xweb.Mapper `xweb:"/front/wx_dataExport/winnerEdit"` //中标单位编辑
|
|
|
- winnerInput xweb.Mapper `xweb:"/front/wx_dataExport/winnerInput"` //中标单位输入
|
|
|
- agencyEdit xweb.Mapper `xweb:"/front/wx_dataExport/agencyEdit"` //代理机构编辑
|
|
|
+ toSieve xweb.Mapper `xweb:"/front/wx_dataExport/toSieve"` //微信数据导出
|
|
|
+ saveData xweb.Mapper `xweb:"/front/wx_dataExport/saveData"` //保存筛选数据
|
|
|
+ area xweb.Mapper `xweb:"/front/wx_dataExport/area"` //区域
|
|
|
+ industry xweb.Mapper `xweb:"/front/wx_dataExport/industry"` //行业
|
|
|
+ buyerclass xweb.Mapper `xweb:"/front/wx_dataExport/buyerclass"` //采购单位类型
|
|
|
+ keyWord xweb.Mapper `xweb:"/front/wx_dataExport/keyWord"` //关键词
|
|
|
+ keyWordInput xweb.Mapper `xweb:"/front/wx_dataExport/keyWordInput"` //关键词输入
|
|
|
+ appended xweb.Mapper `xweb:"/front/wx_dataExport/appended"` //附加词
|
|
|
+ appendedInput xweb.Mapper `xweb:"/front/wx_dataExport/appendedInput"` //附加词输入
|
|
|
+ exclude xweb.Mapper `xweb:"/front/wx_dataExport/exclude"` //排除词
|
|
|
+ excludeInput xweb.Mapper `xweb:"/front/wx_dataExport/excludeInput"` //排除词输入
|
|
|
+ price xweb.Mapper `xweb:"/front/wx_dataExport/price"` //金额
|
|
|
+ subType xweb.Mapper `xweb:"/front/wx_dataExport/subType"` //信息类型
|
|
|
+ buyerEdit xweb.Mapper `xweb:"/front/wx_dataExport/buyerEdit"` //采购单位编辑
|
|
|
+ buyerInput xweb.Mapper `xweb:"/front/wx_dataExport/buyerInput"` //采购单位输入
|
|
|
+ winnerEdit xweb.Mapper `xweb:"/front/wx_dataExport/winnerEdit"` //中标单位编辑
|
|
|
+ winnerInput xweb.Mapper `xweb:"/front/wx_dataExport/winnerInput"` //中标单位输入
|
|
|
+ agencyEdit xweb.Mapper `xweb:"/front/wx_dataExport/agency(Edit|Input)"` //代理机构编辑
|
|
|
}
|
|
|
|
|
|
func init() {
|
|
@@ -524,7 +524,7 @@ func (w *WxDataExport) WinnerInput() error {
|
|
|
}
|
|
|
|
|
|
// 代理机构编辑
|
|
|
-func (w *WxDataExport) AgencyEdit() error {
|
|
|
+func (w *WxDataExport) AgencyEdit(val string) error {
|
|
|
//分享
|
|
|
getsession := w.Session().GetMultiple()
|
|
|
w.T["signature"] = wx.SignJSSDK(w.Site() + w.Url())
|
|
@@ -534,6 +534,6 @@ func (w *WxDataExport) AgencyEdit() error {
|
|
|
myavatar, _ := getsession["s_avatar"].(string)
|
|
|
w.T["nickname"] = mynickname
|
|
|
w.T["avatar"] = myavatar
|
|
|
- w.Render("/weixin/dataExport/dataExport_agencyEdit.html", &w.T)
|
|
|
+ w.Render(fmt.Sprintf("/weixin/dataExport/dataExport_agency%s.html", val), &w.T)
|
|
|
return nil
|
|
|
}
|