获取可使用来源和供应链

可使用来源数量与采购端等级绑定 (中台自营来源是0 是默认的,本API不进行返回)

GET {url}/app/application/getGatherSupplyAndSource


返回:

字段

名称

类型

gather_supply_id

供应链id

int

source_id

来源id

int

type

                         类型           0使用source_id字段传商品列表source字段1传gather_supply_id

 

{
    “code”:0,
    “data”:[
        {
            “gather_supply_id”:18,
            “source_id”:0,
            “source_name”:”测试”,
            “type”:1
        },
        {
            “gather_supply_id”:20,
            “source_id”:0,
            “source_name”:”中台本地”,
            “type”:1
        },
        {
            “gather_supply_id”:24,
            “source_id”:0,
            “source_name”:”供应链”,
            “type”:1
        },
        {
            “gather_supply_id”:15,
            “source_id”:0,
            “source_name”:”供应链”,
            “type”:1
        },
        {
            “gather_supply_id”:16,
            “source_id”:0,
            “source_name”:”测试售后”,
            “type”:1
        },
        {
            “gather_supply_id”:0,
            “source_id”:1,
            “source_name”:”云仓1″,
            “type”:0
        },
        {
            “gather_supply_id”:0,
            “source_id”:2,
            “source_name”:”111″,
            “type”:0
        },
        {
            “gather_supply_id”:0,
            “source_id”:6,
            “source_name”:”3333″,
            “type”:0
        },
        {
            “gather_supply_id”:0,
            “source_id”:7,
            “source_name”:”555″,
            “type”:0
        },
        {
            “gather_supply_id”:0,
            “source_id”:8,
            “source_name”:”666″,
            “type”:0
        },
        {
            “gather_supply_id”:0,
            “source_id”:11,
            “source_name”:”7777″,
            “type”:0
        }
    ],
    “msg”:”操作成功”
}

发表评论

您的邮箱地址不会被公开。 必填项已用 * 标注

滚动至顶部