decrypt

package
v0.0.0-...-905ac7b Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Result Result `json:"result"`
	Value  string `json:"value"`
}

type DecryptRequest

type DecryptRequest struct {
	/**
	 * 加密后的字符串,英文逗号分隔,最多传入10个密文
	 */
	EncryptedValue string `json:"encryptedValue"`
}

func (*DecryptRequest) DoInvoke

func (req *DecryptRequest) DoInvoke(client mtclient.MeituanClient) (*DecryptResponse, error)

type DecryptResponse

type DecryptResponse struct {
	Code    string `json:"code"`
	Msg     string `json:"msg"`
	Data    Data   `json:"data"`
	TraceId string `json:"traceId"`
}

func (*DecryptResponse) IsSuccess

func (response *DecryptResponse) IsSuccess() bool

type Result

type Result struct {
	Success bool   `json:"success"`
	Code    string `json:"code"`
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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