This commit is contained in:
suyl
2021-05-14 10:17:24 +08:00
parent 4a495cb077
commit 6e485be7bb
3 changed files with 15 additions and 2 deletions

View File

@@ -630,3 +630,14 @@ func CalculateCoverArea(coordinate []string, vendorID int) (area float64) {
sum = utils.Str2Float64(fmt.Sprintf("%.2f", sum))
return sum
}
func RefreshJDMembers(ctx *jxcontext.Context) (err error) {
//var (
// db = dao.GetDB()
//)
//if configs, err := dao.QueryConfigs(dao.GetDB(), "jdStorePageCookie", model.ConfigTypeCookie, ""); err == nil {
// api.JdAPI.SetJdCookie(configs[0].Value)
//}
//api.JdAPI.QueryMemberTransListByCondition(1, 10)
return err
}