|
|
@@ -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 { |
|
|
|