import requests

"""
Baseapi.py文件封装了接口常用的请求方式
"""


class Baseapi(object):
    def request_get(self, url, query):
        r = requests.get(url=url, query=query)
        return r.json()

    def request_post(self):
        pass

    def request_put(self):
        pass

    def request_delete(self):
        pass

7f83de8f33bab8c2c55240d0d0c1e50a743fdbcb
<mask token>


class Baseapi(object):
    <mask token>

    def request_post(self):
        pass

    def request_put(self):
        pass
    <mask token>

<mask token>


class Baseapi(object):
    <mask token>

    def request_post(self):
        pass

    def request_put(self):
        pass

    def request_delete(self):
        pass

<mask token>


class Baseapi(object):

    def request_get(self, url, query):
        r = requests.get(url=url, query=query)
        return r.json()

    def request_post(self):
        pass

    def request_put(self):
        pass

    def request_delete(self):
        pass

import requests
<mask token>


class Baseapi(object):

    def request_get(self, url, query):
        r = requests.get(url=url, query=query)
        return r.json()

    def request_post(self):
        pass

    def request_put(self):
        pass

    def request_delete(self):
        pass

import requests

"""
Baseapi.py文件封装了接口常用的请求方式
"""


class Baseapi(object):
    def request_get(self, url, query):
        r = requests.get(url=url, query=query)
        return r.json()

    def request_post(self):
        pass

    def request_put(self):
        pass

    def request_delete(self):
        pass
