妳的問題很簡單。如果使用pytest,可以在公共函數中定義壹個函數值,返回的數據是
id=[]
對於res["data"]中的I:
# # # #對於I中的j:
#######對於i["list"]中的k:
########### id。append(k["iUserid"])