Browse Source

更新

master
huangjiajun 1 year ago
parent
commit
75b8ff4c6f
1 changed files with 17 additions and 0 deletions
  1. +17
    -0
      lianlian/api.go

+ 17
- 0
lianlian/api.go View File

@@ -168,6 +168,23 @@ func CreateOrder(params map[string]string) string {
encryptedData := CommEncryptedData(send)
return encryptedData
}
func CheckCreateOrder(params map[string]string) string {
args := map[string]interface{}{}
for k, v := range params {
if v != "" {
args[k] = v
}
}
tmp := zhios_third_party_utils.SerializeStr(args)
fmt.Println(tmp)
send, err := Send("channelOrder/checkCreateOrder", tmp)
if err != nil || gjson.Get(send, "code").Int() != 200 {
fmt.Println(send)
return ""
}
encryptedData := CommEncryptedData(send)
return encryptedData
}

//订单详情
func OrderDetail(params map[string]string) string {


Loading…
Cancel
Save