1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- package seller
- type notifyParam struct {
- TradeNo string `json:"out_trade_no"`
- TransactionId string `json:"transaction_id"`
- TradeState string `json:"trade_state"`
- Payer struct {
- Openid string `json:"openid"`
- } `json:"payer"`
- }
- type tradeRedis struct {
- Device string `json:"device"`
- Cell uint8 `json:"cell"`
- Wine uint16 `json:"wine"`
- Weight uint16 `json:"weight"`
- Cash uint32 `json:"cash"`
- }
- type qrcodeParam struct {
- Id uint16 `json:"id"`
- Cell uint8 `json:"cell"`
- Weight uint16 `json:"weight"`
- Cash int `json:"cash"`
- }
- type authParam struct {
- Type string `json:"type"`
- Code string `json:"code"`
- UserType string `json:"user_type"`
- UserId string `json:"user_id"`
- }
- type resultParam struct {
- Type string `json:"type"`
- Result bool `json:"result"`
- UserType string `json:"user_type"`
- UserId string `json:"user_id"`
- }
- type finishParam struct {
- Type string `json:"type"`
- UserType string `json:"user_type"`
- UserId string `json:"user_id"`
- }
- type vipScanParam struct {
- Device string `json:"device"`
- Callback string `json:"callback"`
- }
- type vipCallbackParam struct {
- Device string `json:"device"`
- User string `json:"user"`
- Level uint8 `json:"level"`
- Desc string `json:"desc"`
- Discount uint8 `json:"discount"`
- Remain uint64 `json:"remain"`
- }
- type vipPayParam struct {
- User string `json:"user"`
- Cash uint32 `json:"cash"`
- Desc string `json:"desc"`
- }
|