api_manage_regist.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. #ifndef MICROSERVICES_API_MANAGE_REGIST_HEADER_
  2. #define MICROSERVICES_API_MANAGE_REGIST_HEADER_
  3. #include <string>
  4. namespace MicroServices
  5. {
  6. namespace API
  7. {
  8. struct CommResponse
  9. {
  10. bool success;
  11. std::string errorCode;
  12. std::string returnCode;
  13. std::string errorMsg;
  14. std::string message;
  15. };
  16. namespace Manage
  17. {
  18. //http://rvcterminal.paasst.cmbchina.cn/api/manage/regist/7555980103
  19. /*
  20. "data": {
  21. "branchNo": "755",
  22. "businessStructID": "1BFEB05100000000",
  23. "businessStructInfo": {
  24. "bActive": true,
  25. "bDisplay": true,
  26. "branchNo": "755598",
  27. "commonName": "ShenZhenFenHangYingYeBu",
  28. "description": null,
  29. "editor": null,
  30. "expTime": null,
  31. "globalName": "CMB.ShenZhenFenHang.ShenZhenFenHangYingYeBu",
  32. "nLayer": 3,
  33. "nodeType": "B",
  34. "parentId": "17A2113A0000000A",
  35. "structFullName": "招商银行/深圳分行/深圳分行营业部",
  36. "structId": "1BFEB05100000000",
  37. "structName": "深圳分行营业部",
  38. "structType": "102",
  39. "topStruct": false
  40. },
  41. "deviceNo": "D06255",
  42. "grooveCount": 1,
  43. "initIP": "99.12.22.197",
  44. "line": "RVC_Branch_MarketingDeviceManage",
  45. "lineDes": "市场条线",
  46. "machineNo": "2021092215115721",
  47. "machineType": "RVC.Stand2S",
  48. "machineVersion": "5.0",
  49. "outletNo": "755598",
  50. "padDeviceId": "cw_00000000",
  51. "pinPadId": "cw_1902BB2104258467",
  52. "remark": "1",
  53. "sites": "CMB.LIB",
  54. "state": "1",
  55. "stateName": "正常",
  56. "structID": "1BFEB05100000000",
  57. "structInfo": null,
  58. "terminalNo": "7555980103",
  59. "workFlowState": null
  60. }
  61. */
  62. struct RegistInfo
  63. {
  64. std::string branchNo;
  65. std::string deviceNo;
  66. std::string initIP;
  67. std::string machineNo;
  68. std::string machineType;
  69. std::string machineVersion;
  70. std::string sites;
  71. std::string terminalNo;
  72. };
  73. }
  74. }
  75. }
  76. #endif //MICROSERVICES_API_MANAGE_REGIST_HEADER_