this is 4.2 update
This commit is contained in:
parent
3711d70e5b
commit
8501efc60d
|
@ -14,7 +14,7 @@ public interface UserConstant {
|
|||
/**
|
||||
* 用户默认头像
|
||||
*/
|
||||
String USER_DEFAULT_AVATAR = "feiyi%2Ftest%2F0%2FQbtEasUN-VCG211285566731.png";
|
||||
String USER_DEFAULT_AVATAR = "avatar.png";
|
||||
|
||||
/**
|
||||
* 用户登录键
|
||||
|
|
|
@ -31,7 +31,6 @@ import io.swagger.v3.oas.annotations.tags.Tag;
|
|||
import jakarta.annotation.Resource;
|
||||
import jakarta.servlet.http.HttpServletRequest;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.lang3.RandomStringUtils;
|
||||
import org.springframework.data.redis.core.RedisTemplate;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
|
@ -154,9 +153,9 @@ public class WeChatLogisticsController {
|
|||
for (OrderItems orderItems : orderItemsList) {
|
||||
GoodSnapshot goodSnapshot = orderItems.getGoodSnapshot();
|
||||
String name = goodSnapshot.getName();
|
||||
// String goodImg = goodSnapshot.getGoodImg();
|
||||
// String[] imgArr = goodImg.split(";");
|
||||
// String imgUrl = FileConstant.SERVER_HOST + imgArr[0];
|
||||
String goodImg = goodSnapshot.getGoodImg();
|
||||
String[] imgArr = goodImg.split(";");
|
||||
String imgUrl = FileConstant.SERVER_HOST + imgArr[0];
|
||||
// String filePath = null;
|
||||
// try {
|
||||
// URL url = new URL(imgUrl);
|
||||
|
@ -174,8 +173,9 @@ public class WeChatLogisticsController {
|
|||
// e.printStackTrace();
|
||||
// }
|
||||
|
||||
String resultUrl = FileConstant.SERVER_HOST + RandomStringUtils.randomAlphabetic(8) + ".png";
|
||||
GoodLogisticsInfoVO goodLogisticsInfoVO = GoodLogisticsInfoVO.builder().goods_name(name).goods_img_url(resultUrl).build();
|
||||
// String resultUrl = FileConstant.SERVER_HOST + "FnNiXynr.png";
|
||||
// String resultUrl = "www.qq.com";
|
||||
GoodLogisticsInfoVO goodLogisticsInfoVO = GoodLogisticsInfoVO.builder().goods_name(name).goods_img_url(imgUrl).build();
|
||||
goodLogisticsInfoVOS.add(goodLogisticsInfoVO);
|
||||
}
|
||||
|
||||
|
|
|
@ -11,10 +11,10 @@ spring:
|
|||
|
||||
|
||||
rabbitmq:
|
||||
host: 123.249.108.160
|
||||
host: 1.94.237.210
|
||||
port: 5672
|
||||
username: chenxinzhi
|
||||
password: yuanteng
|
||||
username: admin
|
||||
password: Cxzyt331
|
||||
virtual-host: vhost
|
||||
listener:
|
||||
simple:
|
||||
|
@ -24,9 +24,9 @@ spring:
|
|||
data:
|
||||
redis:
|
||||
port: 6379
|
||||
host: 123.249.108.160
|
||||
host: 1.94.237.210
|
||||
database: 0
|
||||
password: yuanteng
|
||||
password: Cxzyt331
|
||||
|
||||
|
||||
servlet:
|
||||
|
|
Loading…
Reference in New Issue
Block a user