Documentation ¶
Index ¶
- func CreateTmpFile(pre string) (f *os.File, err error)
- func GenTmpFilename(pre string) string
- func GetDatas(reqParam *dto2.HttpRequestDto) (*resty.Response, error)
- func MakeHeader(token string, req *resty.Request) *resty.Request
- func PostDatas(httpRequestDto *dto2.HttpRequestDto) (*resty.Response, error)
- func TakeoutImageBase64(base64 string) string
- func WriteExcel2Tmp(buf *bytes.Buffer) (string, error)
- func WriteHtml2Tmp(buf *bytes.Buffer) (string, error)
- func WritePdf2Tmp(buf []byte) (string, error)
- func WritePng2Tmp(buf []byte) (string, error)
- func WritePngTmpBy(base64str string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenTmpFilename ¶
func GetDatas ¶
func GetDatas(reqParam *dto2.HttpRequestDto) (*resty.Response, error)
func MakeHeader ¶
func MakeHeader(token string, req *resty.Request) *resty.Request
func PostDatas ¶
func PostDatas(httpRequestDto *dto2.HttpRequestDto) (*resty.Response, error)
body := dto.QueryParam{ Current: 1, PageSize: 12, OrderBys: "effect_time|desc", Param : map[string]interface{}{ "card_id": "813231927293313025", },
www.ichub.com/nodeapi/common-strapi/sign/querySignQuota https://xuri.me/excelize/zh-hans/workbook.html#GetPageMargins
func TakeoutImageBase64 ¶
src = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKcAAAApCAIAAADfzq4TAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAIdUAACHVAQSctJ0AABzoSURBVHhe7Vx3eBTV3v7+vXRFEUVU0Gu7lmu9V7kWRCEJIZAAoYmCiKAoWEClN+mdAGmQQgKkB9IIkJBCCiGUECAhvZftve+s33t2Zndnz04Ccv0uz/c89/e8T57d2d+cOWfeXz0z8D+/u4vNZmN0aqu08x7AyLsZtcxm1NkYBgNxI/5X7GJlbEqNsVOiFUSXVKszmHHzOW0PwU8QDGIwWlRak0xpEMl0OKsL59pP5z6zHxzHVRoTIzSmB+tGvfbENvGkh8X+Q8T+j9w1hognDZ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