ShebaoController.html 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="content-type" content="text/html;charset=UTF-8">
  5. <style type="text/css">
  6. <!--
  7. @import url(md.css);
  8. -->
  9. </style></head><body>
  10. <p>五险一金配置数据 </p>
  11. <h1 id="/sbl/shebao/setting/v2_">1 五险一金配置数据</h1>
  12. <p>五险一金配置数据
  13. 城市的五险一金补缴配置数据 与 销量</p>
  14. <h2>1.1 请求部分<h2>
  15. <ul><li><p>接口URI</p> <pre><code>/sbl/shebao/setting/v2 </code></pre></li><li><p>接口参数</p>
  16. <pre><code>Integer city_code 城市代码
  17. Integer type 社保(1) 公积金(2)
  18. </code></pre></li></ul>
  19. <h2>1.2 响应部分</h2> <ul><li> 响应字段
  20. <pre><code>int id
  21. int city_code
  22. String shebao_type
  23. double shebao_charge
  24. double shebao_card_charge
  25. double fund_charge
  26. double package_charge
  27. int month
  28. int nums
  29. boolean pack
  30. int inc_date
  31. boolean fund_buy
  32. boolean fund_buy2 是否开放公积金购买 2019-04-25
  33. String shebao_note
  34. String fund_note
  35. double added_charge
  36. short addeds_num
  37. short addedf_num
  38. boolean hk_addr
  39. int firstM
  40. boolean sb_wage
  41. String shebao_desc
  42. String fund_desc
  43. List<ShebaoCityDataItem> shebaos
  44. Integer hukou_type
  45. List<ShebaoNamePrice> data
  46. Integer i
  47. String n
  48. double p
  49. List<FundCityDataItem> funds
  50. Integer hukou_type
  51. double max
  52. double min
  53. double e
  54. double p
  55. boolean flow_flag
  56. int flow_end 流水最高金额
  57. int flow_charge 服务费
  58. String remark 说明
  59. int flow_fee 建议的流水金额
  60. </code></pre></li></ul> <ul><li> 示例
  61. <pre><code>{
  62. "wxyj": List<ShebaoCityDataResp>,
  63. "flow": WageFlowResp,
  64. "sb_vol": 9800,
  65. "fund_vol" : 3100
  66. }</code></pre></li></ul>
  67. <hr>
  68. <h1 id="/sbl/shebao/added/setting/v2_">2 补缴配置数据</h1>
  69. <p>补缴配置数据
  70. 城市的五险一金补缴配置数据 与 销量</p>
  71. <h2>2.1 请求部分<h2>
  72. <ul><li><p>接口URI</p> <pre><code>/sbl/shebao/added/setting/v2 </code></pre></li><li><p>接口参数</p>
  73. <pre><code>Integer city_code 城市代码
  74. Integer type 社保(1)还是公积金(2)
  75. </code></pre></li></ul>
  76. <h2>2.2 响应部分</h2> <ul><li> 响应字段
  77. <pre><code>int id
  78. int city_code
  79. String shebao_type
  80. double shebao_charge
  81. double shebao_card_charge
  82. double fund_charge
  83. double package_charge
  84. int month
  85. int nums
  86. boolean pack
  87. int inc_date
  88. boolean fund_buy
  89. boolean fund_buy2 是否开放公积金购买 2019-04-25
  90. String shebao_note
  91. String fund_note
  92. double added_charge
  93. short addeds_num
  94. short addedf_num
  95. boolean hk_addr
  96. int firstM
  97. boolean sb_wage
  98. String shebao_desc
  99. String fund_desc
  100. List<ShebaoCityDataItem> shebaos
  101. Integer hukou_type
  102. List<ShebaoNamePrice> data
  103. Integer i
  104. String n
  105. double p
  106. List<FundCityDataItem> funds
  107. Integer hukou_type
  108. double max
  109. double min
  110. double e
  111. double p
  112. </code></pre></li></ul> <ul><li> 示例
  113. <pre><code>{
  114. "wxyj": List<ShebaoCityDataResp>,
  115. "sb_vol": 9800,
  116. "fund_vol" : 3100
  117. }</code></pre></li></ul>
  118. <hr>
  119. <h1 id="/sbl/shebao/calculator/main/v1_GET">3 社保计算器主界面</h1>
  120. <p>社保计算器主界面
  121. 获取指定城市的配置信息,用于计算器页面上选择或填写</p>
  122. <h2>3.1 请求部分<h2>
  123. <ul><li><p>接口URI</p> <pre><code>/sbl/shebao/calculator/main/v1 GET</code></pre></li><li><p>接口参数</p>
  124. <pre><code>int city_code
  125. </code></pre></li></ul>
  126. <h2>3.2 响应部分</h2> <ul><li> 响应字段
  127. <pre><code>int id
  128. String shebao_type
  129. float shebao_min
  130. float shebao_max
  131. float fund_min
  132. float fund_max
  133. List<HukouItem> hukouItemList
  134. int hukou
  135. List<ItemData> itemDataList
  136. int i
  137. String n
  138. float min
  139. float max
  140. float pp
  141. float ep
  142. boolean yearPay
  143. </code></pre></li></ul> <p>计算器需要的数据</p>
  144. <hr>
  145. <h1 id="/sbl/shebao/calculator/tax/v1_POST">4 个税计算器计算社保个人总金额</h1>
  146. <p>个税计算器计算社保个人总金额</p>
  147. <h2>4.1 请求部分<h2>
  148. <ul><li><p>接口URI</p> <pre><code>/sbl/shebao/calculator/tax/v1 POST</code></pre></li><li><p>接口参数</p>
  149. <pre><code>Integer cid 档位ID
  150. Integer hukou_type 户口类型 (1~4)
  151. Float shebao_salary 社保基数
  152. </code></pre></li></ul>
  153. <h2>4.2 响应部分</h2> <p>社保个人部分金额 或 其它异常信息.
  154. </p><ul><li>返回码<pre><code>
  155. 200 成功计算出金额
  156. 500 计算时的异常信息
  157. 600 参数异常
  158. </code></pre></li></ul>
  159. <hr>
  160. <script src="md.js"></script></body></html>