Documentation
¶
Index ¶
Constants ¶
View Source
const ( BaseUrl = "https://waimaiopen.meituan.com/api/v1/" // 请求根地址 Timeout = 3000 // 超时时间 3000ms )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
type Base struct {
AppId string // app id
AppSecret string // app secret
Url string // 请求url
RequestData map[string]interface{} // 请求参数map
RequestBody string // 请求参数:排序的字符串连接 例如:app_poi_code=&medicine_data=
SystemData map[string]interface{} // 系统参数map
SystemBody string // 系统参数:排序的字符串连接 放在get参数中 例如:app_id=×tamp=&sign=
// contains filtered or unexported fields
}
func (*Base) VerifySign ¶
VerifySign 验证回调签名
Click to show internal directories.
Click to hide internal directories.