浏览代码

默认头像

Wubing 17 小时之前
父节点
当前提交
6969c7fa61
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      app/servers/connector/handler/entryHandler.js

+ 2 - 1
app/servers/connector/handler/entryHandler.js

@@ -314,9 +314,10 @@ proto.login = P.coroutine(function* (msg, session, next) {
         }
     }
     console.warn("316 msg.headurl:",msg.headurl)
-    if (msg.headurl == "" || !msg.headurl) {
+    if (msg.headurl == "" || !msg.headurl || msg.headurl == " https://bargame.ala456.com/gameRes/1.sv") {
         msg.headurl = "https://barserver.bargame88.com/0a066484-5914-633e-12fb-b36ccce1431d22224444.png"
     }
+    console.warn("320 msg.headurl:",msg.headurl)
     self.downloadSvg(msg.headurl, localSvgPath, playerId, function(err) {
         console.warn("96:msg.headurl",msg.headurl)
         if (err) {