|
@@ -9,8 +9,9 @@ if(isset($_REQUEST["source"]))
|
|
|
}
|
|
}
|
|
|
$timestamp = safeCheck($_REQUEST['timestamp'],0);//来源
|
|
$timestamp = safeCheck($_REQUEST['timestamp'],0);//来源
|
|
|
$sign_raw = md5($method.$timestamp);
|
|
$sign_raw = md5($method.$timestamp);
|
|
|
-if($sign_raw != $sign) $api->ApiError('002', '校验不通过!');
|
|
|
|
|
-//var_dump($method);
|
|
|
|
|
|
|
+if($sign_raw != $sign){
|
|
|
|
|
+ echo action_msg(API::SIGN, API::SIGN_MSG);
|
|
|
|
|
+}
|
|
|
require_once($method.".php");
|
|
require_once($method.".php");
|
|
|
|
|
|
|
|
?>
|
|
?>
|