makela 7 달 전
부모
커밋
06a97c6779
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      pay/channelsdk/googleplay.js

+ 1 - 2
pay/channelsdk/googleplay.js

@@ -104,10 +104,9 @@ let pay_success = function(args, res){
             //检查订单
 			let channel = vals[0].channel
             let conf = config.parse(platformid, channel, cfid);
-            let cfid = conf.cfid;
             let amountnum = conf.price
             let moneytype = conf.typename;
-            if (cfid == 0){
+            if (conf.cfid == 0){
                 console.log("[GooglePlay] channel:%s获取cfid失败为platformid:%s,cfid:%s",channel, platformid, cfid);
                 try{res.send("fail");}
                 catch(e){}