wangpengfei 4 months ago
parent
commit
e650235b82
  1. 4
      src/main/java/com/yxt/yythmall/api/appletgiftbag/GiftBagGoodss.java
  2. 6
      src/main/java/com/yxt/yythmall/biz/customerinvoice/CustomerInvoiceService.java
  3. 5
      src/main/java/com/yxt/yythmall/config/SaTokenConfigure.java

4
src/main/java/com/yxt/yythmall/api/appletgiftbag/GiftBagGoodss.java

@ -47,10 +47,10 @@ public class GiftBagGoodss {
e.printStackTrace();
}
}
int js = 1;
double js = 1;
if (StrUtil.isNotBlank(weight)) {
try {
js = Integer.parseInt(weight);
js = Double.parseDouble(weight);
} catch (Exception e) {
e.printStackTrace();
}

6
src/main/java/com/yxt/yythmall/biz/customerinvoice/CustomerInvoiceService.java

@ -51,8 +51,10 @@ public class CustomerInvoiceService extends MybatisBaseService<CustomerInvoiceMa
if(dto.getIsDefault().equals("1")){
CustomerInvoice customerInvoice = baseMapper.selectOne(new QueryWrapper<CustomerInvoice>().eq("customerSid",dto.getCustomerSid())
.eq("isDefault","1"));
customerInvoice.setIsDefault("0");
baseMapper.updateById(customerInvoice);
if(customerInvoice!=null){
customerInvoice.setIsDefault("0");
baseMapper.updateById(customerInvoice);
}
}
if (StringUtils.isNotBlank(dto.getSid())) {
String dtoSid = dto.getSid();

5
src/main/java/com/yxt/yythmall/config/SaTokenConfigure.java

@ -90,7 +90,7 @@ public class SaTokenConfigure implements WebMvcConfigurer {
.excludePathPatterns("/shoppingcart/shoppingCartList")
.excludePathPatterns("/shoppingcart/delShoppingCart/**")
.excludePathPatterns("/lpkgoods/vegeCellarTypeList")
.excludePathPatterns("/vegetablecellar/addGoods/**")
// .excludePathPatterns("/vegetablecellar/addGoods/**")
.excludePathPatterns("/lpkgoods/vegeCellarList")
.excludePathPatterns("/customerstore/getStoreBySid/**")
.excludePathPatterns("/lpkgiftcard/bindAllCard")
@ -116,7 +116,6 @@ public class SaTokenConfigure implements WebMvcConfigurer {
.excludePathPatterns("/invoicetype/listAll")
.excludePathPatterns("/invoicerecords/save")
.excludePathPatterns("/lpkgoods/vegeCellarInvalidList")
.excludePathPatterns("//wxapi/**")
;
.excludePathPatterns("//wxapi/**");
}
}

Loading…
Cancel
Save