api接口文档
This commit is contained in:
@@ -6,6 +6,13 @@ use app\api\model\User;
|
|||||||
|
|
||||||
class Account
|
class Account
|
||||||
{
|
{
|
||||||
|
|
||||||
|
public function __construct ()
|
||||||
|
{
|
||||||
|
if(empty($_GET['apikey'])){
|
||||||
|
die;
|
||||||
|
}
|
||||||
|
}
|
||||||
//通过接口开测试
|
//通过接口开测试
|
||||||
// /api/account/creeatTest?apikey=1232455165&product=5&package=61&account=test1231&pwd=123
|
// /api/account/creeatTest?apikey=1232455165&product=5&package=61&account=test1231&pwd=123
|
||||||
public function createTest()
|
public function createTest()
|
||||||
|
|||||||
Reference in New Issue
Block a user