bug下单时普通商品库存不足
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
@ -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();
|
||||
|
Reference in New Issue
Block a user