bug下单时普通商品库存不足

This commit is contained in:
xuwenbo
2020-09-09 10:57:30 +08:00
parent 9dd0147819
commit ba68425fe3
3 changed files with 12 additions and 9 deletions

View File

@ -306,7 +306,7 @@ public class StoreOrderController {
public ApiResult<Boolean> comment(@Valid @RequestBody ProductReplyParam param){
YxUser user = LocalUser.getUser();
storeOrderService.orderComment(user,param.getUnique(),
EmojiParser.removeAllEmojis(param.getComment()),
param.getComment(),
param.getPics(),param.getProductScore(),param.getServiceScore());
return ApiResult.ok();
}

View File

@ -188,7 +188,7 @@ public class AuthService {
YxUser returnUser = null;
if(yxUser == null){
//过滤掉表情
String nickname = EmojiParser.removeAllEmojis(wxMpUser.getNickname());
String nickname = wxMpUser.getNickname();
log.info("昵称:{}", nickname);
//用户保存
String ip = IpUtil.getRequestIp();