Compare commits
No commits in common. "c00db7d79c3b56dc80acfb82b6106e12320bac1b" and "00ab5d791157bc0b0372f41865baa145bab9bfeb" have entirely different histories.
c00db7d79c
...
00ab5d7911
@ -134,7 +134,7 @@ func UploadImg(c *gin.Context) {
|
||||
}
|
||||
}
|
||||
//localUrl := fmt.Sprintf("%s/%s/%s/%s/%s", config.ServerDM, BaseRoute, source, mask, fileFullName)
|
||||
var data = make(map[string]string, 2)
|
||||
var data map[string]string = make(map[string]string, 2)
|
||||
//data["ori_url"] = localUrl
|
||||
|
||||
if int32(isCompress) == 1 {
|
||||
|
@ -149,6 +149,12 @@ func SaveRegister(c *gin.Context) {
|
||||
func ExportRegister(c *gin.Context) {
|
||||
var exportRecordReq exhibition.ExportRecordReq
|
||||
|
||||
//if err := c.ShouldBind(&exportRecordReq); err != nil {
|
||||
// logger.Errorf("SaveRegisterRecord ShouldBind err", err)
|
||||
// response.ResponseQuickMsg(c, msg.Fail, msg.INVALID_PARAMS, nil)
|
||||
// return
|
||||
//}
|
||||
|
||||
resp, err := GrpcExhibitionClientImpl.ExportRegisterRecord(context.Background(), &exportRecordReq)
|
||||
if err != nil {
|
||||
response.ResponseQuickMsg(c, msg.Fail, err.Error(), nil)
|
||||
|
Loading…
Reference in New Issue
Block a user