|
|
|
|
52
|
name := items["name"].(string)
|
52
|
name := items["name"].(string)
|
53
|
phone := items["phone"].(string)
|
53
|
phone := items["phone"].(string)
|
54
|
address := items["address"].(string)
|
54
|
address := items["address"].(string)
|
55
|
- isfirst := int64(items["is_first"].(int))
|
|
|
|
|
55
|
+ isfirst := int64(items["is_first"].(float64))
|
56
|
updatecontacts := models.SpSupplierContacts{
|
56
|
updatecontacts := models.SpSupplierContacts{
|
57
|
ID: id,
|
57
|
ID: id,
|
58
|
Name: name,
|
58
|
Name: name,
|
|
|
|
|
176
|
name := items["name"].(string)
|
176
|
name := items["name"].(string)
|
177
|
phone := items["phone"].(string)
|
177
|
phone := items["phone"].(string)
|
178
|
address := items["address"].(string)
|
178
|
address := items["address"].(string)
|
179
|
- isfirst := int64(items["is_first"].(int))
|
|
|
|
|
179
|
+ isfirst := int64(items["is_first"].(float64))
|
180
|
|
180
|
|
181
|
spcontacts := models.SpSupplierContacts{
|
181
|
spcontacts := models.SpSupplierContacts{
|
182
|
Name: name,
|
182
|
Name: name,
|