|
@@ -17,7 +17,7 @@ import (
|
|
|
|
|
|
var ExConf *DataexportConfig
|
|
var ExConf *DataexportConfig
|
|
|
|
|
|
-//价格配置文件
|
|
|
|
|
|
+// 价格配置文件
|
|
type DataexportConfig struct {
|
|
type DataexportConfig struct {
|
|
MsgMaxCount int `json:"msgMaxCount"`
|
|
MsgMaxCount int `json:"msgMaxCount"`
|
|
Font Font `json:"font"`
|
|
Font Font `json:"font"`
|
|
@@ -37,7 +37,7 @@ func init() {
|
|
util.ReadConfig("./dataexport.json", &ExConf)
|
|
util.ReadConfig("./dataexport.json", &ExConf)
|
|
}
|
|
}
|
|
|
|
|
|
-//发送邮箱验证码
|
|
|
|
|
|
+// 发送邮箱验证码
|
|
func SendMailIdentCode(to, code string, auth []*mail.GmailAuth) bool {
|
|
func SendMailIdentCode(to, code string, auth []*mail.GmailAuth) bool {
|
|
html := fmt.Sprintf(`<div>
|
|
html := fmt.Sprintf(`<div>
|
|
<div>
|
|
<div>
|
|
@@ -80,7 +80,7 @@ func GetWaitPayToken(orderid int64, order_money int, ordercode, payway, userid s
|
|
}
|
|
}
|
|
|
|
|
|
/*
|
|
/*
|
|
- 获取-筛选条件-金额
|
|
|
|
|
|
+获取-筛选条件-金额
|
|
*/
|
|
*/
|
|
func GetPriceDes_SieveCondition(minPrice, maxPrice string) string {
|
|
func GetPriceDes_SieveCondition(minPrice, maxPrice string) string {
|
|
des := ""
|
|
des := ""
|
|
@@ -95,7 +95,7 @@ func GetPriceDes_SieveCondition(minPrice, maxPrice string) string {
|
|
return des
|
|
return des
|
|
}
|
|
}
|
|
|
|
|
|
-//招标数据导出筛选
|
|
|
|
|
|
+// 招标数据导出筛选
|
|
type BidSearchExport struct {
|
|
type BidSearchExport struct {
|
|
Keywords string //搜索词
|
|
Keywords string //搜索词
|
|
Publishtime string //发布时间
|
|
Publishtime string //发布时间
|
|
@@ -118,6 +118,7 @@ type BidSearchExport struct {
|
|
SearchMode int // 搜索模式:0:精准搜索;1:模糊搜索
|
|
SearchMode int // 搜索模式:0:精准搜索;1:模糊搜索
|
|
WordsMode int // 搜索关键词模式;默认0:包含所有,1:包含任意
|
|
WordsMode int // 搜索关键词模式;默认0:包含所有,1:包含任意
|
|
AdditionalWords string // 关键词:附加关键词(副:五组,每组最多15个字符)
|
|
AdditionalWords string // 关键词:附加关键词(副:五组,每组最多15个字符)
|
|
|
|
+ Area string //地区
|
|
}
|
|
}
|
|
|
|
|
|
func (this *BidSearchExport) PassBidSearchExport(Sysconfig map[string]interface{}) (returnData map[string]interface{}) {
|
|
func (this *BidSearchExport) PassBidSearchExport(Sysconfig map[string]interface{}) (returnData map[string]interface{}) {
|