- use Must func when possible.
This commit is contained in:
25
platform/elmapi/callback.go
Normal file
25
platform/elmapi/callback.go
Normal file
@@ -0,0 +1,25 @@
|
||||
package elmapi
|
||||
|
||||
const (
|
||||
OrderEffective = 10
|
||||
MerchantValid = 12
|
||||
OrderCanceled = 14
|
||||
MerchantInvalid = 15
|
||||
OrderForceInvalid = 17
|
||||
OrderFinished = 18
|
||||
)
|
||||
|
||||
type ELMCallbackResponse struct {
|
||||
Message string `json:"message"`
|
||||
}
|
||||
|
||||
type ELMCallbackMsg struct {
|
||||
AppId int `json:"appId"`
|
||||
RequestId string `json:"requestId"`
|
||||
Type int `json:"type"`
|
||||
Message string `json:"message"`
|
||||
ShopId int `json:"shopId"`
|
||||
Timestamp int64 `json:"timestamp"`
|
||||
UserId int64 `json:"userId"`
|
||||
Signature string `json:"signature"`
|
||||
}
|
||||
Reference in New Issue
Block a user