api_manage_regist.h 2.2 KB

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