This commit is contained in:
wangmingqing 2023-05-30 14:26:34 +08:00
parent 70ac477ef8
commit d4407825e9

View File

@ -11,53 +11,53 @@ if(!empty($_SERVER['REQUEST_URI'])&& (preg_match("@\/d\/@", strtolower($_SERVER[
"params"=>3
)
);
$router->add(
"/smsoauth2_qa/api/oauth2/code",
array(
"controller" => 'oauth2' ,
"action" => 'code',
)
);
// $router->add(
// "/smsoauth2_qa/api/oauth2/code",
// array(
// "controller" => 'oauth2' ,
// "action" => 'code',
// )
// );
$router->add(
"/smsoauth2_qa/api/oauth2/accesstoken",
array(
"controller" => 'oauth2' ,
"action" => 'accesstoken',
)
);
// $router->add(
// "/smsoauth2_qa/api/oauth2/accesstoken",
// array(
// "controller" => 'oauth2' ,
// "action" => 'accesstoken',
// )
// );
$router->add(
"/smsoauth2_qa/api/sms/send",
array(
"controller" => 'sms' ,
"action" => 'send',
)
);
// $router->add(
// "/smsoauth2_qa/api/sms/send",
// array(
// "controller" => 'sms' ,
// "action" => 'send',
// )
// );
$router->add(
"/smsoauth2_qa/api/sms/authcode",
array(
"controller" => 'sms' ,
"action" => 'authcode',
)
);
// $router->add(
// "/smsoauth2_qa/api/sms/authcode",
// array(
// "controller" => 'sms' ,
// "action" => 'authcode',
// )
// );
$router->add(
"/smsoauth2_qa/api/sms/query_reports",
array(
"controller" => 'sms' ,
"action" => 'query_reports',
)
);
// $router->add(
// "/smsoauth2_qa/api/sms/query_reports",
// array(
// "controller" => 'sms' ,
// "action" => 'query_reports',
// )
// );
$router->add(
"/smsoauth2_qa/api/urls/shorturl",
array(
"controller" => 'urls' ,
"action" => 'shorturl',
)
);
// $router->add(
// "/smsoauth2_qa/api/urls/shorturl",
// array(
// "controller" => 'urls' ,
// "action" => 'shorturl',
// )
// );
}
else{
$router->add(