ソースを参照

Added voicevlan

Dmitry Yu Okunev 6 年 前
コミット
55d9d7d696
共有5 個のファイルを変更した5 個の追加4 個の削除を含む
  1. 1 0
      sip_user.go
  2. 1 1
      special_api/appointment.go
  3. 1 1
      special_api/line.go
  4. 1 1
      special_api/person.go
  5. 1 1
      special_api/unit.go

+ 1 - 0
sip_user.go

@@ -17,5 +17,6 @@ type SipUser struct {
 	LineNumber       int     `reform:"line_num"`
 	PrimaryExtension *string `reform:"parent_name"`
 	AdminPassword    string  `reform:"adminpassword"`
+	VoiceVlan        *int    `reform:"voicevlan"`
 	//BindTo           *int    `reform:"bindto"`
 }

+ 1 - 1
special_api/appointment.go

@@ -1,8 +1,8 @@
 package specialAPIModels
 
 import (
-	"github.com/revel/revel"
 	I "devel.mephi.ru/dyokunev/wwwvoip/app/iface"
+	"github.com/revel/revel"
 	"voip/app/models"
 )
 

+ 1 - 1
special_api/line.go

@@ -1,8 +1,8 @@
 package specialAPIModels
 
 import (
-	"github.com/revel/revel"
 	I "devel.mephi.ru/dyokunev/wwwvoip/app/iface"
+	"github.com/revel/revel"
 	"voip/app/models"
 )
 

+ 1 - 1
special_api/person.go

@@ -1,8 +1,8 @@
 package specialAPIModels
 
 import (
-	"github.com/revel/revel"
 	I "devel.mephi.ru/dyokunev/wwwvoip/app/iface"
+	"github.com/revel/revel"
 	"voip/app/models"
 )
 

+ 1 - 1
special_api/unit.go

@@ -1,9 +1,9 @@
 package specialAPIModels
 
 import (
+	I "devel.mephi.ru/dyokunev/wwwvoip/app/iface"
 	"fmt"
 	"github.com/revel/revel"
-	I "devel.mephi.ru/dyokunev/wwwvoip/app/iface"
 	"voip/app/models"
 )