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.annotation.Resource;
|
||||||
import jakarta.servlet.http.HttpServletRequest;
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.apache.commons.lang3.RandomStringUtils;
|
|
||||||
import org.springframework.data.redis.core.RedisTemplate;
|
import org.springframework.data.redis.core.RedisTemplate;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
|
@ -154,9 +153,9 @@ public class WeChatLogisticsController {
|
||||||
for (OrderItems orderItems : orderItemsList) {
|
for (OrderItems orderItems : orderItemsList) {
|
||||||
GoodSnapshot goodSnapshot = orderItems.getGoodSnapshot();
|
GoodSnapshot goodSnapshot = orderItems.getGoodSnapshot();
|
||||||
String name = goodSnapshot.getName();
|
String name = goodSnapshot.getName();
|
||||||
// String goodImg = goodSnapshot.getGoodImg();
|
String goodImg = goodSnapshot.getGoodImg();
|
||||||
// String[] imgArr = goodImg.split(";");
|
String[] imgArr = goodImg.split(";");
|
||||||
// String imgUrl = FileConstant.SERVER_HOST + imgArr[0];
|
String imgUrl = FileConstant.SERVER_HOST + imgArr[0];
|
||||||
// String filePath = null;
|
// String filePath = null;
|
||||||
// try {
|
// try {
|
||||||
// URL url = new URL(imgUrl);
|
// URL url = new URL(imgUrl);
|
||||||
|
@ -174,8 +173,9 @@ public class WeChatLogisticsController {
|
||||||
// e.printStackTrace();
|
// e.printStackTrace();
|
||||||
// }
|
// }
|
||||||
|
|
||||||
String resultUrl = FileConstant.SERVER_HOST + RandomStringUtils.randomAlphabetic(8) + ".png";
|
// String resultUrl = FileConstant.SERVER_HOST + "FnNiXynr.png";
|
||||||
GoodLogisticsInfoVO goodLogisticsInfoVO = GoodLogisticsInfoVO.builder().goods_name(name).goods_img_url(resultUrl).build();
|
// String resultUrl = "www.qq.com";
|
||||||
|
GoodLogisticsInfoVO goodLogisticsInfoVO = GoodLogisticsInfoVO.builder().goods_name(name).goods_img_url(imgUrl).build();
|
||||||
goodLogisticsInfoVOS.add(goodLogisticsInfoVO);
|
goodLogisticsInfoVOS.add(goodLogisticsInfoVO);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,10 +11,10 @@ spring:
|
||||||
|
|
||||||
|
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
host: 123.249.108.160
|
host: 1.94.237.210
|
||||||
port: 5672
|
port: 5672
|
||||||
username: chenxinzhi
|
username: admin
|
||||||
password: yuanteng
|
password: Cxzyt331
|
||||||
virtual-host: vhost
|
virtual-host: vhost
|
||||||
listener:
|
listener:
|
||||||
simple:
|
simple:
|
||||||
|
@ -24,9 +24,9 @@ spring:
|
||||||
data:
|
data:
|
||||||
redis:
|
redis:
|
||||||
port: 6379
|
port: 6379
|
||||||
host: 123.249.108.160
|
host: 1.94.237.210
|
||||||
database: 0
|
database: 0
|
||||||
password: yuanteng
|
password: Cxzyt331
|
||||||
|
|
||||||
|
|
||||||
servlet:
|
servlet:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user