Home - 2026-04-账单
最后修改者: huangyingliang 2026-04-08 16:47:12
系统后台-设置某个商户数据报送或不报送
编号 : 001
POST - https://fltest.tp6.hyj111.cn/admin/vendor/setVendorReportSwitch
headers下token必传 然后 Accept = application/json
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| vid | int | Y | 商户id | |
| is_report_app | int | Y | APP报送开关:1=报送 0=不报送 | |
| is_report_miniapp | int | Y | 微信小程序报送开关:1=报送 0=不报送 | |
| no_report_months_app | array | Y | APP不报送月份数组 | |
| no_report_months_miniapp | array | Y | 微信小程序不报送月份数组 |
返回值
传参示例{
"vid": 17,
"is_report_app": 0,
"is_report_miniapp": 1,
"no_report_months_app": [
{"year": 2026, "month": 1},
{"year": 2026, "month": 2}
],
"no_report_months_miniapp": []
}
// 返回结果
{
"status": 200,
"msg": "设置成功"
}
最后修改者: huangyingliang 2026-04-08 16:51:08
获取供应商报送开关 + 不报送月份列表.
编号 : 002
GET - https://fltest.tp6.hyj111.cn/admin/vendor/getVendorReportSwitch
headers下token必传 然后 Accept = application/json
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| vid | int | Y | 商户id |
返回值
{
"status": 200,
"msg": "ok",
"data": {
"vid": 17,
"store_name": "喇叭-搏奥12212",
"is_report_app": 0,
"is_report_miniapp": 1,
"no_report_months_app": [
{
"report_type": "app",
"year": 2026,
"month": 1
},
{
"report_type": "app",
"year": 2026,
"month": 2
}
],
"no_report_months_miniapp": []
}
}
最后修改者: huangyingliang 2026-04-15 16:47:22
订单礼品互换
编号 : 003
POST - https://fl.tp6.hyj111.cn/admin/gxc/newOrder/swapGift
headers下token必传 然后 Accept = application/json
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| paid_order_id | int | Y | 已付款订单 order_id | |
| pending_order_id | int | Y | 待付款订单 order_id |
最后修改者: huangyingliang 2026-04-23 13:43:15
添加期初建账
编号 : 004
POST - https://fltest.hyj111.cn/SystemManage/index.php?app=init_carry_over&mod=add
headers下token必传 然后 Accept = application/json
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| vid | int | Y | 商户id | |
| carry_over_price | decimal(10,2) | Y | 期初剩余应付 | |
| carry_over_quality_money | decimal(10,2) | Y | 期初质保金 |
返回值
{
"state": 200,
"msg": "添加期初建账成功!"
}
最后修改者: huangyingliang 2026-04-23 13:51:56
获取期初建账列表
编号 : 005
GET - https://fltest.hyj111.cn/SystemManage/index.php?app=init_carry_over&mod=index
headers下token必传 然后 Accept = application/json
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| page | int | Y | 页码 | |
| pageSize | int | Y | 每页显示数 | |
| store_name | string | N | 商户名称 搜索关键字 |
返回值
{
"state": 200,
"msg": "获取期初建账列表成功!",
"list": {
"total": 1,
"per_page": 10,
"current_page": 1,
"last_page": 1,
"data": [
{
"id": 1,
"vid": 17, // 商户id
"admin_id": 1,
"carry_over_price": "100.00", // 期初剩余应付
"carry_over_quality_money": "0.00", // 期初质保金
"desc": "",
"created_at": "2026-04-23 13:39:05",
"updated_at": "2026-04-23 13:39:05",
"store_name": "喇叭-搏奥12212", // 商户名称
"admin_name": "18888888888",
"admin_sld_truename": "超级管理员"
}
]
},
"pagination": {
"current": 1,
"pageSize": 10,
"listRows": 10,
"total": 1
}
}
最后修改者: huangyingliang 2026-04-23 13:55:30
修改期初建账
编号 : 006
POST - https://fltest.hyj111.cn/SystemManage/index.php?app=init_carry_over&mod=update
headers下token必传 然后 Accept = application/json
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| id | int | Y | id | |
| carry_over_price | decimal(10,2) | Y | 期初剩余应付 | |
| carry_over_quality_money | decimal(10,2) | Y | 期初质保金 |
返回值
{
"state": 200,
"msg": "修改期初建账成功!"
}
最后修改者: huangyingliang 2026-04-24 11:19:15
获取期初建账日期
编号 : 007
GET - https://fltest.tp6.hyj111.cn/admin/config/getList
headers下token必传 然后 Accept = application/json
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| type | string | Y | 类型 传 init_carry_over | |
| name | string | Y | 名称 传 init_carry_over_date |
返回值
{
"status": 200,
"msg": "获取配置成功",
"data": {
"init_carry_over_date": "2026-04-24"
}
}
最后修改者: huangyingliang 2026-04-24 11:22:24
修改期初建账日期
编号 : 008
POST - https://fltest.tp6.hyj111.cn/admin/config/edit
headers下token必传 然后 Accept = application/json
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| type | string | Y | 传 init_carry_over | |
| name | string | Y | 传 init_carry_over_date | |
| value | string | Y | 值 例如 2026-04-25 |
返回值
{
"status": 200,
"msg": "修改配置成功"
}
最后修改者: huangyingliang 2026-04-24 14:44:18
商户查询剩余应付
编号 : 009
GET - https://fltest.hyj111.cn/SystemManage/index.php?app=payment_order&mod=getVidRemainPrice
headers下token必传 然后 Accept = application/json
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| vid | int | Y | 要查询的商户id | |
| click_time | string | Y | 点击进来的时间 格式 例如 2026-04-24 13:00:00 |
返回值
{
"state": 200,
"msg": "查询剩余应付成功!",
"vid": 17,
"click_time": "2026-04-24 13:00:00",
"qi_chu_price": 80, // 期初建账金额
"carry_over_price": 0, // 累计应付(来自已审核对账单)
"ma_ling_price": 0, // 累计抹零
"paid_price": 3054, // 累计已付货款 来自付款单
"remain_price": "-2974.00" // 剩余应付
}
最后修改者: huangyingliang 2026-04-28 11:39:33
期初数据
编号 : 010
GET - https://fltest.hyj111.cn/SystemManage/index.php?app=init_carry_over_price&mod=carryOverMonthList
headers下token必传 然后 Accept = application/json
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| year | string | Y | 年份 | |
| vid | int | N | 商户id | |
| store_name | string | N | 商户名称关键词 |
返回值
{
"state": 200,
"msg": "获取月度期初应付统计成功!",
"year": 2026,
"list": {
"total": 1,
"per_page": 10,
"current_page": 1,
"last_page": 1,
"data": [
{
"vid": 66,
"store_name": "喇叭--金达电子",
"A1": {
"month": 1,
"year_month": "2026-01",
"carry_over_price": "2000.00"
},
"A1_price": "2000.00",
"A2": {
"month": 2,
"year_month": "2026-02",
"carry_over_price": 0
},
"A2_price": 0,
"A3": {
"month": 3,
"year_month": "2026-03",
"carry_over_price": "200.00"
},
"A3_price": "200.00",
"A4": {
"month": 4,
"year_month": "2026-04",
"carry_over_price": 0
},
"A4_price": 0,
"A5": {
"month": 5,
"year_month": "2026-05",
"carry_over_price": 0
},
"A5_price": 0,
"A6": {
"month": 6,
"year_month": "2026-06",
"carry_over_price": 0
},
"A6_price": 0,
"A7": {
"month": 7,
"year_month": "2026-07",
"carry_over_price": 0
},
"A7_price": 0,
"A8": {
"month": 8,
"year_month": "2026-08",
"carry_over_price": 0
},
"A8_price": 0,
"A9": {
"month": 9,
"year_month": "2026-09",
"carry_over_price": 0
},
"A9_price": 0,
"A10": {
"month": 10,
"year_month": "2026-10",
"carry_over_price": 0
},
"A10_price": 0,
"A11": {
"month": 11,
"year_month": "2026-11",
"carry_over_price": 0
},
"A11_price": 0,
"A12": {
"month": 12,
"year_month": "2026-12",
"carry_over_price": "1000.00"
},
"A12_price": "1000.00",
"all_carry_over_price": "3200.00"
}
]
},
"pagination": {
"current": 1,
"pageSize": 10,
"listRows": 10,
"total": 1
}
}