|
@@ -671,7 +671,7 @@ proto.login = P.coroutine(function* (msg, session, next) {
|
|
|
var url = encodeURIComponent(player.headurl)
|
|
var url = encodeURIComponent(player.headurl)
|
|
|
if (msg.istelegram != 1) {
|
|
if (msg.istelegram != 1) {
|
|
|
url = "https://barserver.bargame88.com/image/1.png"
|
|
url = "https://barserver.bargame88.com/image/1.png"
|
|
|
- player.headurl = url
|
|
|
|
|
|
|
+ player.headurl = "1.png"
|
|
|
}
|
|
}
|
|
|
yield player.saveAsync()
|
|
yield player.saveAsync()
|
|
|
return next(null, { code: C.OK, data: {
|
|
return next(null, { code: C.OK, data: {
|