grade

package
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppGradeRequest

type AppGradeRequest struct {
	AccessToken string // 授权小程序的接口调用凭据
	PageNo      int64  // 分页页码(从 1 开始)
}

AppGradeRequest 请求结构体

type AppGradeResponse

type AppGradeResponse struct {
	Data      AppGradeResponsedata `json:"data"`       // 响应参数
	Errno     int64                `json:"errno"`      // 状态码
	ErrMsg    string               `json:"msg"`        // 错误信息
	ErrorCode int64                `json:"error_code"` // openapi 错误码
	ErrorMsg  string               `json:"error_msg"`  // openapi 错误信息
}

type AppGradeResponsedata

type AppGradeResponsedata struct {
	DataList  []AppGradeResponsedatadataListItem `json:"dataList"`  //
	PageNo    int64                              `json:"pageNo"`    // 页码
	PageSize  int64                              `json:"pageSize"`  // 每页展示数据
	Total     int64                              `json:"total"`     // 总数据量
	TotalPage int64                              `json:"totalPage"` // 总页数
}

func AppGrade

func AppGrade(params *AppGradeRequest) (*AppGradeResponsedata, error)

AppGrade

type AppGradeResponsedatadataListItem

type AppGradeResponsedatadataListItem struct {
	AppID  int64  `json:"app_id"`  // 小程序 id
	AppKey string `json:"app_key"` // 小程序唯一识别码
	Grade  string `json:"grade"`   // 小程序等级 · 未评级 · A 级 · B 级 · C 级
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL