...
|
...
|
@@ -3,10 +3,12 @@ package audit |
|
|
import (
|
|
|
"encoding/json"
|
|
|
"fmt"
|
|
|
myconfig "oppmg/common/config"
|
|
|
"oppmg/common/log"
|
|
|
"oppmg/models"
|
|
|
"oppmg/protocol"
|
|
|
"oppmg/utils/exceltool"
|
|
|
"oppmg/utils/signature"
|
|
|
"strconv"
|
|
|
"strings"
|
|
|
|
...
|
...
|
@@ -116,7 +118,14 @@ func GetAuditListForExcel(param protocol.RequestAuditList, companyid int64, user |
|
|
}
|
|
|
}
|
|
|
soureData[i]["soure_content"] = soureContentText.String()
|
|
|
soureData[i]["media"] = fmt.Sprintf("chance_id=%v&check_sum=%s", soureData[i]["id"], "xx")
|
|
|
signString := signature.SignaString(fmt.Sprint(soureData[i]["id"]))
|
|
|
var frontHost string
|
|
|
if "prod" == myconfig.MConfig.ConfigName {
|
|
|
frontHost = "https://web-open.fjmaimaimai.com/#/ability/opportunity/export-detail"
|
|
|
} else {
|
|
|
frontHost = "https://mmm-web-open-test.fjmaimaimai.com//#/ability/opportunity/export-detail"
|
|
|
}
|
|
|
soureData[i]["media"] = fmt.Sprintf("%s?chance_id=%v&check_sum=%s", frontHost, soureData[i]["id"], signString)
|
|
|
|
|
|
}
|
|
|
excelhead := []exceltool.ExcelHead{
|
...
|
...
|
|