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