|
|
@@ -10,13 +10,13 @@ declare(strict_types=1);
|
|
|
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
|
|
*/
|
|
|
namespace App\Controller;
|
|
|
+use App\Controller\Resource\ApiResource;
|
|
|
+
|
|
|
class IndexController extends AbstractController
|
|
|
{
|
|
|
|
|
|
public function index()
|
|
|
{
|
|
|
- $page = "<title>主页</title><meta charset='utf-8' style='font-size: 18px; line-height: 240px; width: 100%; text-align: center;'><div id='home'>欢迎访问,HCBET注单平台!</div>";
|
|
|
- echo $page;
|
|
|
- exit;
|
|
|
+ return ApiResource::success(1013);
|
|
|
}
|
|
|
}
|