Browse Source

更新

master
huangjiajun 1 year ago
parent
commit
9dba2b1bcd
1 changed files with 9 additions and 3 deletions
  1. +9
    -3
      meituan_fenxiao/api.go

+ 9
- 3
meituan_fenxiao/api.go View File

@@ -58,9 +58,15 @@ func MeituanFenXiaoGetSign(param map[string]interface{}) string {
str := "" str := ""
info, ok := param["geo"].(map[string]interface{}) info, ok := param["geo"].(map[string]interface{})
if ok { if ok {
param["cityId"] = info["cityId"]
param["lat"] = info["lat"]
param["lng"] = info["lng"]
if info["cityId"] != "" {
param["cityId"] = info["cityId"]
}
if info["lat"] != "" {
param["lat"] = info["lat"]
}
if info["lng"] != "" {
param["lng"] = info["lng"]
}
} }
delete(param, "geo") delete(param, "geo")
keys := comm.KsortToStrInterface(param) keys := comm.KsortToStrInterface(param)


Loading…
Cancel
Save