|
@@ -158,7 +158,7 @@ public class ChatGptAccountServiceImpl implements ChatGptAccountService{
|
|
|
*/
|
|
*/
|
|
|
private String getWxImg(String headimgurl, User user) {
|
|
private String getWxImg(String headimgurl, User user) {
|
|
|
//2023-03-24 先此方案处理。因会占用不少io资源,需修改
|
|
//2023-03-24 先此方案处理。因会占用不少io资源,需修改
|
|
|
- if ("wx".equals(user.getRegisterEnv()) && headimgurl.contains("thirdwx.qlogo.cn")) {
|
|
|
|
|
|
|
+ if (headimgurl.contains("thirdwx.qlogo.cn")) {
|
|
|
File file = null;
|
|
File file = null;
|
|
|
try {
|
|
try {
|
|
|
byte[] body = HttpUtil.downloadBytes(headimgurl);
|
|
byte[] body = HttpUtil.downloadBytes(headimgurl);
|