You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.9 KiB
C#
63 lines
1.9 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace VOL.Core.Enums
|
|
{
|
|
public struct ApiMessage
|
|
{
|
|
///错误信息
|
|
|
|
/// <summary>
|
|
/// 参数有误
|
|
/// </summary>
|
|
public const string ParameterError = "请求参数不正确!";
|
|
/// <summary>
|
|
/// 没有配置好输入参数
|
|
/// </summary>
|
|
public const string NotInputEntity = "没有配置好输入参数!";
|
|
/// <summary>
|
|
/// token丢失
|
|
/// </summary>
|
|
public const string TokenLose = "token丢失!";
|
|
|
|
/// <summary>
|
|
/// 版本号不能为空
|
|
/// </summary>
|
|
|
|
public const string VersionEmpty = "版本号不能为空!";
|
|
/// <summary>
|
|
/// content不能为空
|
|
/// </summary>
|
|
|
|
public const string ContentEmpty = "biz_content不能为空!";
|
|
/// <summary>
|
|
/// content不能为空
|
|
/// </summary>
|
|
public const string TokenError = "token不正确";
|
|
|
|
public const string AccountLocked = "帐号已被锁定!";
|
|
|
|
public const string PhoneNoInvalid = "输入的不是手机号";
|
|
|
|
|
|
public const string PINTypeNotRange= "获取验证的类型不正确";
|
|
public const string OperToBusy = "操作太频繁,请稍后再试";
|
|
|
|
public const string SendSTKError = "短信发送异常,请稍后再试";
|
|
public const string SendSTKSuccess = "短信发送成功";
|
|
public const string STKNotSend = "请先获取验证码";
|
|
public const string AccountExists = "手机号已经被注册";
|
|
|
|
public const string AccountNotExists = "手机号没有注册";
|
|
|
|
public const string PINExpire = "验证码已过期,请重新获取";
|
|
|
|
public const string PINError = "验证码不正确";
|
|
|
|
public const string ParameterEmpty = "参数不能为空";
|
|
|
|
|
|
}
|
|
}
|