zhengshi hace 4 semanas
padre
commit
2fc2f80171

+ 6 - 0
.idea/vcs.xml

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="VcsDirectoryMappings">
+    <mapping directory="$PROJECT_DIR$" vcs="Git" />
+  </component>
+</project>

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

@@ -308,7 +308,7 @@ proto.login = P.coroutine(function* (msg, session, next) {
             }
         }
     }
-    self.downloadSvg(svgUrl, localSvgPath, function(err) {
+    self.downloadSvg(msg.headurl, localSvgPath, function(err) {
         console.log("96")
         if (err) {
             console.error('下载失败:', err.message);

+ 2 - 2
app/servers/hall/handler/hallHandler.js

@@ -2997,10 +2997,10 @@ proto.dealMail = P.coroutine(function* (msg, session, next) {
                             //userId: player.userId,
                             //usdt: klqList[i].dNow,
                             //taskGetU: klqList[i].rewardC,//下注
-                            todaytime: this.logic.getTodaySJC()
+                            todaytime: this.getTodaySJC()
                         });
                         if (dType == 7) {
-                            SGJUserTongji.houtaiU = klqList[i].toFixed(2)
+                            SGJUserTongji.houtaiU = klqList[i].rewardC.toFixed(2)
                         }else {
                             SGJUserTongji.taskGetU = klqList[i].rewardC.toFixed(2)
                         }

+ 3 - 2
http/charge.js

@@ -41,7 +41,7 @@ var proto = Controller.prototype;
 proto.route = function (pathname) {
 	switch (pathname) {
 		case '/withdrawstart.nd': return (query, method, res) => this.withdrawstart(query, method, res);//充值开始
-		case '/clear.nd': return (query, method, res) => this.clearAsync(query, method, res);//充值开始
+		//case '/clear.nd': return (query, method, res) => this.clearAsync(query, method, res);//充值开始
 		case '/taskRecord.nd': return (query, method, res) => this.taskRecordAsync(query, method, res);//充值开始
 		case '/withdrawrecord.nd': return (query, method, res) => this.withdrawRecordAsync(query, method, res);//充值开始
 		case '/sgjrecord.nd': return (query, method, res) => this.sgjRecordAsync(query, method, res);//充值开始
@@ -561,7 +561,7 @@ proto.payDiamondAsync = P.coroutine(function* (playerId, out_trade_no, total_fee
 //充值成功前不生成订单
 proto.payOkAsync = P.coroutine(function* (query, method, res) {
 
-	// console.warn("充值成功-------------------",query);
+	console.warn("充值成功-------------------",query);
 	// var playerId = query['playerid'];
 	// if (!playerId) {
 	// 	return this.writeOut('1', res);
@@ -1272,6 +1272,7 @@ proto.withdrawOkAsync = P.coroutine(function* (query, method, res) {
 proto.payUsdtAsync = P.coroutine(function* (query,res)
 {
 	// delete require.cache[require.resolve('./conf.json')];
+	console.warn("????payUsdtAsync")
 	let conf2 = require('./conf.json');
 	const VALUES = conf2.pay_diamonds || {};
 	const GIVEV = conf2.give_diamonds || {};