test_member_list.py 547 Bytes
from atdd.ATDDCase import ATDDCase


# 人员信息查询接口
class MemberList(ATDDCase):

    def setUp(self):
        pass

    def test_member_list(self):
        app = "yuanquan"
        header_json = {"Content-Type": "application/json; charset=utf-8"}
        url = self.uc_host + "/a/" + self.domain + "/" + app + "/qy/integral/member-list"
        data = {
            "pageNum": 2,
            "miType": "mi_type1"
        }
        result = self.post(url, json=data, headers=header_json)
        print(url)
        print(result.json())