import copy
params = self.query()
lis = [{"code": "3","value": "WW", "seq_sign":"w","status":0},{"code": "4","value": "QQ", "seq_sign":"w","status":0}]
lis2 = []
default = {"code": "", "value": "", "seq_sign": "", "status": 0}
for i, j in enumerate(params['data']):
print(i, j)
default.update(j)
lis[i] = copy.deepcopy(default)
print(lis2)
print(i, lis[i])
print(lis)
# params['data'] = default.update(params['data'])
params['data'] = lis