@a5635268
2018-03-06T13:23:36.000000Z
字数 4599
阅读 1232
接口文档
Stores.Tkcheck.query
入参
{
"uid": "1", // 必传,当前登录的区总ID
"pageSize": 10,
"pageIndex": 1,
"returnOrderSn": "1704181403517691",
"storeUserName": "st10001",
"createTimeTo": 1498033080, // 退款申请时间开始
"createTimeFrom": 1483202940, // 退款申请时间结束
"storeName": "共和新路店",
"checkStatus": 0, //0未审核数据,1已审核通过,2已审核驳回,3已审核全部
}
出参
{
"response": {
"total": 1, //数据总量,用于分页
"data": [
{
"id": "7006",
"create_uid": "0",
"create_username": "st10001",
"order_sn": "1704181403517691", //退款单号
"check_status": "0", // 0未审核,1通过,2驳回
"check_status_name": "未审核", // 审核状态名称
"create_time": "2017-04-18 11:10:36",
"tk_num": "9", //退款数量
"tk_amount": "10.80", //退款金额
"goods_number": "9",
"team_id": "1",
"contacts": "覃勇", //门店联系人
"phone": "13816766716",
"md_name": "共和新路店", //门店名称
"md_number": "st10001",
"cid": "1",
"mobile": "13816766716", //联系方式
"real_name": "覃勇", //申请人姓名
"managerName": "季某凤" //经理人名称
}
]
},
"status": 0,
"status_code": 0,
"message": "ok",
"RespondsJson": {
"status_code": 0,
"message": null
}
}
Stores.Tkcheck.detail
入参
{
"id": "7006" //必传
}
出参
{
"response": {
"belongData": { // 组织归属
"managerId": "958",
"managerName": "季某凤",
"teamName": "泰山团队",
"username": "st10001",
"name": "共和新路店",
"creatUserName": "st10001",
"creatRealName": "覃勇"
},
"customerData": { //会员信息
"id": "41976",
"store_code": "4773",
"username": "st41976",
"online_uid": null,
"real_name": "孙某",
"customer_type": "1",
"sex": "2",
"card_id": "441801198807079602",
"store_name": "赞工店",
"nation": "汉",
"qq_number": "",
"wx_number": "",
"rfid_number": "",
"rfid_time": "2017-05-04 11:37:07",
"age": "78",
"birthday": "1936-03-17",
"yl_birthday": "--",
"province": "7",
"city": "71",
"district": "841",
"dp_province": "7",
"dp_city": "71",
"address": "铁西区南十二西路12号",
"mobile": "02428888888",
"phone_zone": "024",
"phone_number": "28888888",
"referrer": "张新利",
"hobby": "",
"remark": "",
"status": "1",
"create_time": "2014-11-29 20:42:01",
"upt_time": "2014-11-29 20:42:01",
"sms_status": "1",
"emergency_contact_name": "",
"emergency_contact_phone": "",
"emergency_contact_relation": "",
"is_children_live": null,
"record_formal_schooling": "",
"work_units": "",
"is_retired": null,
"retired_time": null,
"religious_beliefs": "",
"hope_activities": "",
"recent_desire": "",
"favorite_holiday": "",
"proud_achievement": "",
"height": null,
"weight": null,
"buy_status": "2",
"freeze_times": "1",
"unfreeze_times": "0",
"buy_amount": "0.00",
"intention": "",
"portrait": "",
"card_id_verify": "5"
},
"goodsData": [ //订单商品信息
{
"goods_code": "120141218042100",
"goods_name": "威猛洁菌适洁厕液(淡雅花香)两瓶装",
"goods_number": "21",
"goods_price": "1.00",
"return_num": "9",
"property_values": ""
}
],
"tkData": { // 退款单信息
"id": "7006",
"evidence": "",
"order_sn": "1704181403517691",
"m_order_sn": "1704181003517687",
"store_code": "1",
"store_type": "1",
"pay_type": "幸福卡",
"card_no": "201590025821",
"customer_id": "41976",
"tk_num": "9",
"real_name" : "周孝刚",
"tk_amount": "9.00",
"back_trade_no": null,
"back_order_sn": null,
"back_type": null,
"dk_type": "1",
"is_line": "1",
"trade_no": null,
"tk_reason": "321312",
"dk_amount": "0.00",
"order_status": "1",
"tk_info": "",
"dk_fail_reason": null,
"create_uid": "0",
"create_username": "st10001",
"create_time": "1492485036",
"dk_time": null,
"uid": "2013",
"order_type": "0",
"check_status": "0"
},
"smoData": [ // 销售单信息
{
"id": "403409",
"order_sn": "1704181003517687",
"business_sn": "11492484674",
"total_num": "21",
"amount": "21.00",
"balance_amount": "21.00",
"cash_amount": "0.00",
"return_amount": "9.00",
"pay_status": "2",
"trade_no": "20170418004050000008872",
"create_time": "1492484674",
"vip_card": "201590025821",
"customer_id": "41976",
"store_code": "1",
"pos_trade_no": null,
"uid": "2013",
"username": "v2003",
"pay_time": "1492484674",
"pay_amount": "21.00",
"sales_order_id": "73601",
"pay_type": "1",
"order_status": "1",
"is_change_order": "1",
"is_return": "2",
"last_update_time": "2017-04-18 11:10:44",
"order_type": "0"
}
],
"tkGoodsData": [ // 退款商品信息
{
"id": "5968",
"order_id": "7006",
"order_sn": "1704181403517691",
"order_goods_id": "335929",
"goods_name": "威猛洁菌适洁厕液(淡雅花香)两瓶装",
"goods_code": "120141218042100",
"goods_number": "9",
"goods_price": "1.00",
"sales_num": "9",
"color": "",
"size": "",
"unit": "组",
"amt": "10",
"create_time": "1492485036"
}
]
},
"checkData": [ //审核记录
{
"id": "261",
"return_order_id": "7013",
"return_order_number": "1704181403517717",
"check_status": "驳回",
"check_content": "321312312",
"check_date": "2017-04-18 14:16:39",
"check_number": "1704181403517717_1",
"check_uid": "1",
"check_username": "adminis",
"check_level": "998"
}
]
},
"status": 0,
"status_code": 0,
"message": "ok",
"RespondsJson": {
"status_code": 0,
"message": null
}
}
Stores.Tkcheck.check
入参
# 以下入参全部为必传
{
"id": "7006", // 退款单ID 【必传】
"returnOrderSn": "1704181403517691", // 退款单单号 【必传】
"checkStatus": "2", // 审核状态 1同意,2驳回 【必传】
"checkContent": "asdfasdfasdf", // 审核内容
"checkUid": "1", //区总ID
"checkUserName": "adminis" //区总账号
}
出参
{
"response": true,
"status": 0,
"status_code": 0,
"message": "审核成功",
"RespondsJson": {
"status_code": 0,
"message": "审核成功"
}
}