增加vivo支付与登录接口

This commit is contained in:
ayflying
2025-07-23 17:37:17 +08:00
parent 58bea0c09a
commit 90b72129a5
8 changed files with 256 additions and 0 deletions

11
package/pay/vivo/model.go Normal file
View File

@@ -0,0 +1,11 @@
package vivo
type TokenAuthResponse struct {
ReturnCode int `json:"retcode"`
Data *TokenAuthResponseData `json:"data,omitempty"`
}
type TokenAuthResponseData struct {
Success bool `json:"success,omitempty"`
OpenId string `json:"openid,omitempty"`
}