singleAPI.yml 1.24 KB
- config:
    name: "菜谱服务"
    request:
        base_url: http://dc1.colorcun.com:10005?s=
    
- test:
    name: 添加菜谱
    request:
        url: App.Menu.AddMenu
        method: POST
    validate:
        - eq: ["content.ret", 200]
- test:
    name: 根据菜谱ID获取关联菜品
    request:
        url: App.Menu.GetCookBookByMenuId
        method: POST
    validate:
        - eq: ["content.ret", 200]
- test:
    name: 根据菜谱ID获取关联菜品数量
    request:
        url: App.Menu.GetCookBookNumByMenuId
        method: POST
        data:
            sellerid: 5
    validate:
        - eq: ["content.ret", 200]
- test:
    name: 根据菜谱ID获取菜谱基本信息
    request:
        url: App.Menu.GetMenuById
        method: POST
        data:
            sellerid: 5
    validate:
        - eq: ["content.ret", 200]
- test:
    name: 根据商家ID获取菜谱信息
    request:
        url: App.Menu.GetMenuLists
        method: POST
        data:
            sellerid: 5
    validate:
        - eq: ["content.ret", 200]
- test:
    name: 根据菜谱ID修改菜谱信息
    request:
        url: App.Menu.SetMenuById
        method: POST
        data:
            sellerid: 5
    validate:
        - eq: ["content.ret", 200]