pay/51ka_weixin/notify_url.php

(完整代码) 1KB

<?php
require_once 'inc.php';
use WY\app\model\Handleorder;
$state=_G('state','int');
$customerid=_G('customerid','int');
$sd51no=_G('sd51no');
$sdcustomno=_G('sdcustomno');
$ordermoney=_G('ordermoney','float');
$cardno=_G('cardno','int');
$mark=_G('mark');
$sign=_G('sign');
$resign=_G('resign');
$des=_G('des');

if($state=='' || $customerid=='' || $sd51no=='' || $sdcustomno=='' || $cardno=='' || $sign=='' || $resign==''){
	echo 'err01';exit;
}

if($customerid!=$userid){
	echo 'err02';exit;
}

$signstr='customerid='.$customerid.'&sd51no='.$sd51no.'&sdcustomno='.$sdcustomno.'&mark='.$mark.'&key='.$userkey;
$makesign=strtoupper(md5($signstr));

if($sign!=$makesign){
	echo 'err03';exit;
}

$resignstr='sign='.$makesign.'&customerid='.$customerid.'&ordermoney='.$ordermoney.'&sd51no='.$sd51no.'&state='.$state.'&key='.$userkey;
$makeresign=strtoupper(md5($resignstr));

if($resign!=$makeresign){
	echo 'err04';exit;
}

echo '<result>1</result>';
$handle=@new Handleorder($sdcustomno,$ordermoney);
$handle->updateUncard();
?>

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。