po

package
v0.0.0-...-3a6d849 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpHeaderData

type HttpHeaderData struct {
	Terminal   int // 3 android端 4 ios端
	Version    string
	Theme      string
	Resolution string
	Locale     string
	Sign       string
}

data的正确格式: 3&4.0.1&black&xxhdpi&zh&aaa_a&53496937f5bc02807d3934ac9fcf5ac9

type HttpRes

type HttpRes struct {
	Data string `json:"data"`
}

type HttpResult

type HttpResult struct {
	//    [{
	//        "success":"",	 --->是否成功
	//        "code":"",	 --->状态码
	//        "message":"",    --->消息框
	//        "version":"", --->版本信息
	//        "data":[{"key":"value"}],	--->返回数据
	//        "is_native" true // 是否跳转h5
	//    }]
	Success  bool        `json:"success"`
	Code     int         `json:"code"`
	Message  string      `json:"message"`
	Version  string      `json:"version"`
	Data     interface{} `json:"data"`
	IsNative bool        `json:"is_native"`
}

type LoginBean

type LoginBean struct {
	Success       bool             `json:"success"`
	Message       string           `json:"message"`
	Username      string           `json:"username"`
	Password      string           `json:"password"`
	IsOpenCaptcha bool             `json:"isOpenCaptcha"`
	PropMessages  PropMessagesBean `json:"propMessages"`
}

type PropMessagesBean

type PropMessagesBean struct {
	Captcha  string `json:"captcha,omitempty"`
	Location string `json:"location,omitempty"`
	GbToken  string `json:"gbToken,omitempty"`
}

Jump to

Keyboard shortcuts

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