You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
339 B
23 lines
339 B
5 years ago
|
<?php
|
||
|
|
||
|
namespace app\hejiang;
|
||
|
|
||
|
/**
|
||
|
* Structured HTTP API Response Class
|
||
|
*
|
||
|
* @property int $code
|
||
|
* @property string $msg
|
||
|
* @property array|object $data
|
||
|
*/
|
||
|
class ApiCode
|
||
|
{
|
||
|
/**
|
||
|
* 状态码:成功
|
||
|
*/
|
||
|
const CODE_SUCCESS = 0;
|
||
|
|
||
|
/**
|
||
|
* 状态码:失败
|
||
|
*/
|
||
|
const CODE_ERROR = 1;
|
||
|
}
|