Commit 37df0838 authored by shiyu's avatar shiyu

上传商品到藏馆返回itemid

parent 37d98533
......@@ -152,7 +152,9 @@ public class ItemTagQrCodeServiceImpl implements ItemTagQrCodeService {
updateDto.setId(itemTagQrCode.getId());
updateDto.setItemId(itemId);
itemTagQrCodeDao.updateByPrimaryKey(updateDto);
return Result.success();
Map<String, Object> map = new HashMap<>();
map.put("itemId", itemTagQrCode.getItemId());
return Result.success(map);
} catch (Exception e) {
logger.error("用户上传商品图片,code绑定商品", e);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment