超级签充值BUG修复

master
zhengchanglong 5 years ago
parent 975b514e90
commit c3cb46cab0

@ -67,7 +67,7 @@ class NotifyController extends BaseController
Log::write(serialize($order_info), Log::DEBUG); Log::write(serialize($order_info), Log::DEBUG);
if ($order_info['status']) { if ($order_info['status']) {
$pay_where = substr($order_info['out_trade_no'], 0, 2); $pay_where = substr($order_info['out_trade_no'], 0, 2);
Log::write("PAY_SWI:".$pay_where, Log::DEBUG);
$result = false; $result = false;
switch ($pay_where) { switch ($pay_where) {

@ -162,7 +162,7 @@ class Ipa365Controller extends BaseController{
$param['body'] = $price; $param['body'] = $price;
//$param['callback'] = "https://m.wmtxkj.com/sdk.php/Ipa365/install_show/user_id/{$userId}/game_id/{$gameId}/order_id/{$orderId}"; //$param['callback'] = "https://m.wmtxkj.com/sdk.php/Ipa365/install_show/user_id/{$userId}/game_id/{$gameId}/order_id/{$orderId}";
//$param['notifyurl'] = "https://m.wmtxkj.com/callback.php/Notify/notify/apitype/alipay"; //$param['notifyurl'] = "https://m.wmtxkj.com/callback.php/Notify/notify/apitype/alipay";
if(stripos($_SERVER['HTTP_HOST'], '.wmtxkj.cn') || $_SERVER['HTTP_HOST']=='127.0.0.1'){ if(stripos($_SERVER['HTTP_HOST'], '.wmtxkj.cn') || $_SERVER['HTTP_HOST']=='127.0.0.1' || stripos($_SERVER['HTTP_HOST'], '.free.idcfengye.com')){
$param['callback'] = "http://".$_SERVER['HTTP_HOST']."/sdk.php/Ipa365/install_show/user_id/{$userId}/game_id/{$gameId}/order_id/{$orderId}"; $param['callback'] = "http://".$_SERVER['HTTP_HOST']."/sdk.php/Ipa365/install_show/user_id/{$userId}/game_id/{$gameId}/order_id/{$orderId}";
$param['notifyurl'] = "http://".$_SERVER['HTTP_HOST']."/callback.php/Notify/notify/apitype/alipay"; $param['notifyurl'] = "http://".$_SERVER['HTTP_HOST']."/callback.php/Notify/notify/apitype/alipay";
}else{ }else{

Loading…
Cancel
Save