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.

17 lines
571 B

2 years ago
  1. namespace EasyBL.WebApi.Message
  2. {
  3. public class InvalidResponseMessage : ResponseMessage
  4. {
  5. public InvalidResponseMessage(RequestMessage i_crm = null, int i_MsgCode = 500, string i_Msg = null) : base(null)
  6. {
  7. base.RESULT = ResponseResult.RR_INVALID;
  8. base.STATUSCODE = i_MsgCode;
  9. base.MSG = i_Msg;
  10. if (i_crm != null)
  11. {
  12. base.PROJECT = i_crm.PROJECT;
  13. base.PROJECTVER = i_crm.PROJECTVER;
  14. base.TYPE = i_crm.TYPE;
  15. }
  16. }
  17. }
  18. }