This commit is contained in:
laodaming 2023-06-08 19:33:30 +08:00
parent f3e9916b37
commit 78e5b2cc59
3 changed files with 3 additions and 3 deletions

View File

@ -59,6 +59,6 @@ func (l *UploadQrcodeLogic) UploadQrcode(req *types.UploadQrcodeReq) (resp *type
}
return resp.SetStatusWithMessage(basic.CodeOK, "success", types.UploadQrcodeRsp{
Link: "",
D: qrType + " " + imgBase64,
Data: qrType + " " + imgBase64,
})
}

View File

@ -23,7 +23,7 @@ type UploadQrcodeReq struct {
type UploadQrcodeRsp struct {
Link string `json:"link"`
D string `json:"d"`
Data string `json:"d"`
}
type Response struct {

View File

@ -42,5 +42,5 @@ type UploadQrcodeReq {
}
type UploadQrcodeRsp {
Link string `json:"link"`
D string `json:"d"`
Data string `json:"d"`
}