Commit c135be8d authored by edz's avatar edz

医生后台商品查询

parent 37c99e71
...@@ -14,6 +14,7 @@ class TestServiceList: ...@@ -14,6 +14,7 @@ class TestServiceList:
def test_ServiceList(self,params): def test_ServiceList(self,params):
r = web2_request().service_list(params['page'],params['pagesize'],params['is_online']) r = web2_request().service_list(params['page'],params['pagesize'],params['is_online'])
if r["error"] == 0: if r["error"] == 0:
assert r["data"]["page"] == params["assert"] assert r["data"]["page"] == params["assert"]
elif r["error"] == 1: elif r["error"] == 1:
......
...@@ -5,4 +5,4 @@ service_list: ...@@ -5,4 +5,4 @@ service_list:
page: "1" page: "1"
pagesize: "10" pagesize: "10"
is_online: "-1" is_online: "-1"
assert: "1" assert: 1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment