hyperf-gateway/app/Constants/Wechat/AuthErrorCode.php

22 lines
407 B
PHP
Raw Permalink Normal View History

2022-11-07 16:29:37 +08:00
<?php
declare(strict_types=1);
namespace App\Constants\Wechat;
use Hyperf\Constants\AbstractConstants;
use Hyperf\Constants\Annotation\Constants;
#[Constants]
class AuthErrorCode extends AbstractConstants
{
/**
* @Message("请传入微信Code")
*/
2022-11-17 10:14:12 +08:00
public const CODE_EMPTY_ERROR = 1200001;
/**
* @Message("授权失败")
*/
public const CODE_TO_AUTH_FAIL = 1200002;
2022-11-07 16:29:37 +08:00
}