示例#1
0
def addressBookGet(params, user_info):
    filters = {
        AddressBook.be_focused_user_id == user_info['data']['id']
    }
    data = AddressBook.rawGetList(params['page_no'], params['per_page'], filters)
    return BaseController().json(data)
示例#2
0
 def get(params, user_info):
     """ 获取通讯录列表 """
     filters = {
         AddressBook.be_focused_user_id == user_info['data']['id']
     }
     return AddressBook.rawGetList(params['page_no'], params['per_page'], filters)