You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

10 lines
309 B

  1. from official.models import FxUser
  2. from common import util
  3. def get_list():
  4. select = ['uid', 'nickname', 'phone'] # 查询的字段
  5. opera_product = FxUser.objects.all().filter(phone='13795379620') # 查询的结果
  6. opera_product = util.sql_array(opera_product, select)
  7. return opera_product