You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
665 B
22 lines
665 B
namespace EasyBL.WebApi.Message
|
|
{
|
|
public class ErrorResponseMessage : ResponseMessage
|
|
{
|
|
public ErrorResponseMessage(string i_sMsg, RequestMessage i_crm = null) : base(null)
|
|
{
|
|
if (i_crm.LANG == "zh")
|
|
{
|
|
i_sMsg = ChineseStringUtility.ToSimplified(i_sMsg);
|
|
}
|
|
base.RESULT = ResponseResult.RR_FALSE;
|
|
base.STATUSCODE = 201;
|
|
base.MSG = i_sMsg;
|
|
if (i_crm != null)
|
|
{
|
|
base.PROJECT = i_crm.PROJECT;
|
|
base.PROJECTVER = i_crm.PROJECTVER;
|
|
base.TYPE = i_crm.TYPE;
|
|
}
|
|
}
|
|
}
|
|
}
|