fix:member
This commit is contained in:
20
app/Constants/Admin/MemberCode.php
Normal file
20
app/Constants/Admin/MemberCode.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Constants\Admin;
|
||||
|
||||
use Hyperf\Constants\AbstractConstants;
|
||||
use Hyperf\Constants\Annotation\Constants;
|
||||
|
||||
#[Constants]
|
||||
class MemberCode extends AbstractConstants
|
||||
{
|
||||
/**
|
||||
* 未删除
|
||||
*/
|
||||
const int IS_NO_DEL = 1;
|
||||
|
||||
/**
|
||||
* @Message("该用户已被删除")
|
||||
*/
|
||||
const int IS_DEL = 2;
|
||||
}
|
||||
Reference in New Issue
Block a user