feat: command
Some checks are pending
Build Docker / build (push) Waiting to run

This commit is contained in:
2024-10-26 18:27:45 +08:00
parent d15c03c04e
commit 3a39ff3790
12 changed files with 346 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
<?php
namespace App\Constants;
use Hyperf\Constants\AbstractConstants;
use Hyperf\Constants\Annotation\Constants;
#[Constants]
class ReturnCode extends AbstractConstants
{
/**
* @Message("success")
*/
public const int SUCCESS = 0;
/**
* @Message("error")
*/
public const int ERROR = 1;
}