|
|
@@ -310,7 +310,7 @@ proto.connectAsync = P.coroutine(function* (playerId,name,headurl, connectorId,
|
|
|
// console.warn("更新用户头像",headurl , player.headurl);
|
|
|
/////TL++,下面两句为了实现更新昵称和头像
|
|
|
if(name && name != player.name) player.name = name;
|
|
|
- if(headurl && headurl != player.headurl) player.headurl = playerId+".png";
|
|
|
+ if(headurl && headurl != player.headurl) player.headurl = md5(playerId)+".png";
|
|
|
// if(sex != player.sex) player.sex = sex;//微信不返回性别了
|
|
|
if(formId != player.formId) player.formId = formId;
|
|
|
player.connectorId = connectorId;
|