使用afnetworking上传图像时重复值

时间:2017-10-26 07:31:32

标签: ios objective-c afnetworking

我想向服务器添加多个图像,我从网上获取代码,当我使用它时......我也得到了重复的值。我不知道为什么我会得到它,例如:如果我添加2个图像,结果计数为4,如果我添加3则结果计数为9.在arrayPhotosData.count的计数是2.对于json我有相同的(即2个值)

aviation = Domain.objects.get(name='Aviation')
meteorology = aviation.topics.get(name='Meteorology')
# if there is a subtopic you want to query
climate = meteorology.subtopics.get(name='Climate')
climate.questions.all() # you have to set related name questions
# in the model Question in the foreign key field
# if case there are no subtopics
mass_and_balance = aviation.topics.get(name='Mass and Balance')
mass_and_balance.questions.all()

0 个答案:

没有答案