|
@@ -108,9 +108,7 @@ func (s *gatewayService) List(searchValue string, current, size int) ([]model.Ga
|
|
|
|
|
|
|
|
fmt.Printf("d.ID = %v", d.ID)
|
|
fmt.Printf("d.ID = %v", d.ID)
|
|
|
//查数据
|
|
//查数据
|
|
|
- relation2 := dao.GatewayRelation{
|
|
|
|
|
- id
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ relation2 := dao.GatewayRelation{}
|
|
|
relation2.Update(int64(d.ID)) //临时 处理
|
|
relation2.Update(int64(d.ID)) //临时 处理
|
|
|
|
|
|
|
|
if relation != nil {
|
|
if relation != nil {
|