[关闭]
@a5635268 2018-03-06T13:23:36.000000Z 字数 4599 阅读 1232

便利店退款区总审核接口

接口文档


获取列表

Stores.Tkcheck.query

入参

  1. {
  2. "uid": "1", // 必传,当前登录的区总ID
  3. "pageSize": 10,
  4. "pageIndex": 1,
  5. "returnOrderSn": "1704181403517691",
  6. "storeUserName": "st10001",
  7. "createTimeTo": 1498033080, // 退款申请时间开始
  8. "createTimeFrom": 1483202940, // 退款申请时间结束
  9. "storeName": "共和新路店",
  10. "checkStatus": 0, //0未审核数据,1已审核通过,2已审核驳回,3已审核全部
  11. }

出参

  1. {
  2. "response": {
  3. "total": 1, //数据总量,用于分页
  4. "data": [
  5. {
  6. "id": "7006",
  7. "create_uid": "0",
  8. "create_username": "st10001",
  9. "order_sn": "1704181403517691", //退款单号
  10. "check_status": "0", // 0未审核,1通过,2驳回
  11. "check_status_name": "未审核", // 审核状态名称
  12. "create_time": "2017-04-18 11:10:36",
  13. "tk_num": "9", //退款数量
  14. "tk_amount": "10.80", //退款金额
  15. "goods_number": "9",
  16. "team_id": "1",
  17. "contacts": "覃勇", //门店联系人
  18. "phone": "13816766716",
  19. "md_name": "共和新路店", //门店名称
  20. "md_number": "st10001",
  21. "cid": "1",
  22. "mobile": "13816766716", //联系方式
  23. "real_name": "覃勇", //申请人姓名
  24. "managerName": "季某凤" //经理人名称
  25. }
  26. ]
  27. },
  28. "status": 0,
  29. "status_code": 0,
  30. "message": "ok",
  31. "RespondsJson": {
  32. "status_code": 0,
  33. "message": null
  34. }
  35. }

获取详情

Stores.Tkcheck.detail

入参

  1. {
  2. "id": "7006" //必传
  3. }

出参

  1. {
  2. "response": {
  3. "belongData": { // 组织归属
  4. "managerId": "958",
  5. "managerName": "季某凤",
  6. "teamName": "泰山团队",
  7. "username": "st10001",
  8. "name": "共和新路店",
  9. "creatUserName": "st10001",
  10. "creatRealName": "覃勇"
  11. },
  12. "customerData": { //会员信息
  13. "id": "41976",
  14. "store_code": "4773",
  15. "username": "st41976",
  16. "online_uid": null,
  17. "real_name": "孙某",
  18. "customer_type": "1",
  19. "sex": "2",
  20. "card_id": "441801198807079602",
  21. "store_name": "赞工店",
  22. "nation": "汉",
  23. "qq_number": "",
  24. "wx_number": "",
  25. "rfid_number": "",
  26. "rfid_time": "2017-05-04 11:37:07",
  27. "age": "78",
  28. "birthday": "1936-03-17",
  29. "yl_birthday": "--",
  30. "province": "7",
  31. "city": "71",
  32. "district": "841",
  33. "dp_province": "7",
  34. "dp_city": "71",
  35. "address": "铁西区南十二西路12号",
  36. "mobile": "02428888888",
  37. "phone_zone": "024",
  38. "phone_number": "28888888",
  39. "referrer": "张新利",
  40. "hobby": "",
  41. "remark": "",
  42. "status": "1",
  43. "create_time": "2014-11-29 20:42:01",
  44. "upt_time": "2014-11-29 20:42:01",
  45. "sms_status": "1",
  46. "emergency_contact_name": "",
  47. "emergency_contact_phone": "",
  48. "emergency_contact_relation": "",
  49. "is_children_live": null,
  50. "record_formal_schooling": "",
  51. "work_units": "",
  52. "is_retired": null,
  53. "retired_time": null,
  54. "religious_beliefs": "",
  55. "hope_activities": "",
  56. "recent_desire": "",
  57. "favorite_holiday": "",
  58. "proud_achievement": "",
  59. "height": null,
  60. "weight": null,
  61. "buy_status": "2",
  62. "freeze_times": "1",
  63. "unfreeze_times": "0",
  64. "buy_amount": "0.00",
  65. "intention": "",
  66. "portrait": "",
  67. "card_id_verify": "5"
  68. },
  69. "goodsData": [ //订单商品信息
  70. {
  71. "goods_code": "120141218042100",
  72. "goods_name": "威猛洁菌适洁厕液(淡雅花香)两瓶装",
  73. "goods_number": "21",
  74. "goods_price": "1.00",
  75. "return_num": "9",
  76. "property_values": ""
  77. }
  78. ],
  79. "tkData": { // 退款单信息
  80. "id": "7006",
  81. "evidence": "",
  82. "order_sn": "1704181403517691",
  83. "m_order_sn": "1704181003517687",
  84. "store_code": "1",
  85. "store_type": "1",
  86. "pay_type": "幸福卡",
  87. "card_no": "201590025821",
  88. "customer_id": "41976",
  89. "tk_num": "9",
  90. "real_name" : "周孝刚",
  91. "tk_amount": "9.00",
  92. "back_trade_no": null,
  93. "back_order_sn": null,
  94. "back_type": null,
  95. "dk_type": "1",
  96. "is_line": "1",
  97. "trade_no": null,
  98. "tk_reason": "321312",
  99. "dk_amount": "0.00",
  100. "order_status": "1",
  101. "tk_info": "",
  102. "dk_fail_reason": null,
  103. "create_uid": "0",
  104. "create_username": "st10001",
  105. "create_time": "1492485036",
  106. "dk_time": null,
  107. "uid": "2013",
  108. "order_type": "0",
  109. "check_status": "0"
  110. },
  111. "smoData": [ // 销售单信息
  112. {
  113. "id": "403409",
  114. "order_sn": "1704181003517687",
  115. "business_sn": "11492484674",
  116. "total_num": "21",
  117. "amount": "21.00",
  118. "balance_amount": "21.00",
  119. "cash_amount": "0.00",
  120. "return_amount": "9.00",
  121. "pay_status": "2",
  122. "trade_no": "20170418004050000008872",
  123. "create_time": "1492484674",
  124. "vip_card": "201590025821",
  125. "customer_id": "41976",
  126. "store_code": "1",
  127. "pos_trade_no": null,
  128. "uid": "2013",
  129. "username": "v2003",
  130. "pay_time": "1492484674",
  131. "pay_amount": "21.00",
  132. "sales_order_id": "73601",
  133. "pay_type": "1",
  134. "order_status": "1",
  135. "is_change_order": "1",
  136. "is_return": "2",
  137. "last_update_time": "2017-04-18 11:10:44",
  138. "order_type": "0"
  139. }
  140. ],
  141. "tkGoodsData": [ // 退款商品信息
  142. {
  143. "id": "5968",
  144. "order_id": "7006",
  145. "order_sn": "1704181403517691",
  146. "order_goods_id": "335929",
  147. "goods_name": "威猛洁菌适洁厕液(淡雅花香)两瓶装",
  148. "goods_code": "120141218042100",
  149. "goods_number": "9",
  150. "goods_price": "1.00",
  151. "sales_num": "9",
  152. "color": "",
  153. "size": "",
  154. "unit": "组",
  155. "amt": "10",
  156. "create_time": "1492485036"
  157. }
  158. ]
  159. },
  160. "checkData": [ //审核记录
  161. {
  162. "id": "261",
  163. "return_order_id": "7013",
  164. "return_order_number": "1704181403517717",
  165. "check_status": "驳回",
  166. "check_content": "321312312",
  167. "check_date": "2017-04-18 14:16:39",
  168. "check_number": "1704181403517717_1",
  169. "check_uid": "1",
  170. "check_username": "adminis",
  171. "check_level": "998"
  172. }
  173. ]
  174. },
  175. "status": 0,
  176. "status_code": 0,
  177. "message": "ok",
  178. "RespondsJson": {
  179. "status_code": 0,
  180. "message": null
  181. }
  182. }

退款单审核

Stores.Tkcheck.check

入参

  1. # 以下入参全部为必传
  2. {
  3. "id": "7006", // 退款单ID 【必传】
  4. "returnOrderSn": "1704181403517691", // 退款单单号 【必传】
  5. "checkStatus": "2", // 审核状态 1同意,2驳回 【必传】
  6. "checkContent": "asdfasdfasdf", // 审核内容
  7. "checkUid": "1", //区总ID
  8. "checkUserName": "adminis" //区总账号
  9. }

出参

  1. {
  2. "response": true,
  3. "status": 0,
  4. "status_code": 0,
  5. "message": "审核成功",
  6. "RespondsJson": {
  7. "status_code": 0,
  8. "message": "审核成功"
  9. }
  10. }
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注