temp
This commit is contained in:
@@ -9,11 +9,11 @@ import (
|
||||
var ErrNotFound = sqlx.ErrNotFound
|
||||
var ErrNoRowsUpdate = errors.New("update db no rows change")
|
||||
|
||||
var UserAuthTypeAppMobile string = "app_mobile" //平台内部
|
||||
var UserAuthTypeAppWechat string = "app_wechat" //微信小程序
|
||||
var UserAuthTypeH5Mobile string = "h5_mobile"
|
||||
var UserAuthTypeWxMini string = "wx_mini"
|
||||
var UserAuthTypeWxOfficialAccount string = "wx_official_account"
|
||||
const (
|
||||
UserAuthTypeMobile = "mobile" //手机号
|
||||
UserAuthTypeWechatH5OpenID = "wechat_h5_openid" //微信H5 openid
|
||||
UserAuthTypeWechatMiniOpenID = "wechat_mini_openid" //微信小程序 openid
|
||||
)
|
||||
|
||||
const (
|
||||
QueryStatePending = "pending"
|
||||
@@ -21,3 +21,18 @@ const (
|
||||
QueryStateSuccess = "success"
|
||||
QueryStateProcessing = "processing"
|
||||
)
|
||||
|
||||
const (
|
||||
OrderStatusPending = "pending"
|
||||
OrderStatusFailed = "failed"
|
||||
OrderStatusPaid = "paid"
|
||||
OrderStatusRefund = "refund"
|
||||
OrderStatusRefunding = "refunding"
|
||||
OrderStatusClosed = "closed"
|
||||
)
|
||||
const (
|
||||
OrderRefundStatusPending = "pending"
|
||||
OrderRefundStatusSuccess = "success"
|
||||
OrderRefundStatusFailed = "failed"
|
||||
OrderRefundStatusClosed = "closed"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user