不需要客户端再主动调用RegisterDataResource了,RegisterDataResource改为空操作

This commit is contained in:
gazebo
2019-09-27 16:56:51 +08:00
parent f4c13e2159
commit 4af8ebd8ef
7 changed files with 28 additions and 39 deletions

View File

@@ -173,7 +173,7 @@ func (p *PurchaseHandler) UploadImg(ctx *jxcontext.Context, imgURL string, imgDa
return "", fmt.Errorf("找不到一个美团门店来上传图片")
}
if globals.EnableMtwmStoreWrite {
if imgType > 0 {
if imgType > model.ImgTypeLocal {
if imgData != nil {
imgHint, err = api.MtwmAPI.ImageUpload(poiCode4UploadImg, imgName, imgData)
} else {