def message_type_list(): request = Api_request.Api_request() data = '' url = '/api/v1/message/messageTypeList' re = request.post_re(data,url) print(re.text) return re.text
def bank_card(): r= Api_request.Api_request() url = '/api/v1/account/bank/card' data = '' re = r.post_re(data,url) #print(re.text) return re.text
def question(): r= Api_request.Api_request() url = '/api/v1/question' data = '' re = r.post_re(data,url) print(re.text) return re.text
def wechatconfig(): request = Api_request.Api_request() data = '' url='/api/v1/configure/wechatConfig' re = request.post_re(data,url) print(re.text) return re.text
def customer(): r = Api_request.Api_request() url = '/api/v1/customer' data='' re =r.post_re(data,url) print(re.text) return re.text
def bank_list(): r = Api_request.Api_request() url = '/api/v1/bank' data = {"token": data_lib.token} re = r.post_re(data, url) print(re.text) return re.text
def getNotice(): request = Api_request.Api_request() url = '/api/v1/message/getNotice' data = {"id": '1'} re = request.get_re(data, url) print(re.text) return re.text
def user_center(): data ='' url = '/api/v1/customer/teamHistory' request = Api_request.Api_request() re = request.post_re(data,url) print(re.text) return re.text
def my_team(): request = Api_request.Api_request() url = '/api/v1/customer/team' data = {"pageIndex": '', "pageSize": ''} re = request.post_re(data, url) print(re.text) return re.text
def systemtime(): request = Api_request.Api_request() url = '/api/v1/configure/systemTime' data = '' re = request.get_re(data, url) print(re.text) return re.text
def messagelist(): request = Api_request.Api_request() data={ "id":'1', "pageSize":'', "pageNo":'' } url='/api/v1/message/messageList' re =request.post_re(data,url) print(re.text) return re.text
def orderlist(): data = { "cardType": 'CARD', "keyword": '', "pageNo": 1, "pageSize": 10, "showTrash": 0, "status": 'null' } request = Api_request.Api_request() url = '/api/v1/orderRecord/listV2' re = request.post_re(data, url) print(re.text) return re.text
def bank_query(): request = Api_request.Api_request() data = {"id": '1', "name": '', "logo": ''} url = '/api/v1/bankConfig/support/query/banks' re = request.post_re(data, url) return re.text
def test_moorelive(self): #设定所要读取对应数据的行数 q = request.mooreliveTest(exel.getUrl, exel.getMethod, exel.getData) result = q.get_request() print(result) self.assertEqual(result['code'], 201, msg='状态测试不成功')