@@ -148,7 +148,7 @@ proto.convertUrlToPng = function(url, outputPath, callback) {
// 创建玩家
proto.createAsync = P.coroutine(function* (playerId, name, sex, headurl,tel,pwd,ip,spreadId,formId, diamond) {
console.warn("convertUrlToPng")
- this.convertUrlToPng(headurl, 'D:/web/root80/'+playerId+'.png', function(err, buffer) {
+ this.convertUrlToPng(headurl, 'D:/web/root80/image/'+playerId+'.png', function(err, buffer) {
if (err) {
console.error('转换失败:' + err.message);
return;