fix
This commit is contained in:
parent
f3e9916b37
commit
78e5b2cc59
|
@ -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,
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -42,5 +42,5 @@ type UploadQrcodeReq {
|
|||
}
|
||||
type UploadQrcodeRsp {
|
||||
Link string `json:"link"`
|
||||
D string `json:"d"`
|
||||
Data string `json:"d"`
|
||||
}
|
Loading…
Reference in New Issue
Block a user