RQHTTPServiceConstant.h 850 B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // RQHTTPServiceConstant.h
  3. // RQCommon
  4. //
  5. // Created by 张嵘 on 2018/11/16.
  6. // Copyright © 2018 张嵘. All rights reserved.
  7. //
  8. #ifndef RQHTTPServiceConstant_h
  9. #define RQHTTPServiceConstant_h
  10. /// 服务器相关
  11. #define RQHTTPRequestTokenKey @"token"
  12. /// 私钥key
  13. #define RQHTTPServiceKey @"privatekey"
  14. /// 私钥Value
  15. #define RQHTTPServiceKeyValue @"/** 你的私钥 **/"
  16. /// 签名key
  17. #define RQHTTPServiceSignKey @"sign"
  18. /// 服务器返回的三个固定字段
  19. /// 状态码key
  20. #define RQHTTPServiceResponseCodeKey @"code"
  21. /// 消息key
  22. #define RQHTTPServiceResponseMsgKey @"msg"
  23. /// 数据data
  24. #define RQHTTPServiceResponseDataKey @"data"
  25. /// 数据data{"list":[]}
  26. #define RQHTTPServiceResponseDataListKey @"rows"
  27. /// 数据total
  28. #define RQHTTPServiceResponseDataTotalKey @"total"
  29. #endif /* RQHTTPServiceConstant_h */