Bläddra i källkod

Merge branch 'master' of http://git.shengws.com/wzf/Kya_New

XMLWAN 4 år sedan
förälder
incheckning
3631411691

+ 1 - 1
controllers/base_api_controller.go Visa fil

@@ -1,7 +1,7 @@
1 1
 package controllers
2 2
 
3 3
 import (
4
-	"KYA/enums"
4
+	"Kya_New/enums"
5 5
 	"fmt"
6 6
 )
7 7
 

+ 7 - 7
controllers/login/login_controller.go Visa fil

@@ -1,13 +1,13 @@
1 1
 package login
2 2
 
3 3
 import (
4
-	"KYA/controllers"
5
-	"KYA/enums"
6
-	"KYA/models"
7
-	"KYA/service/login_service"
8
-	"KYA/service/patient_service"
9
-	"KYA/sms_service"
10
-	"KYA/utils"
4
+	"Kya_New/controllers"
5
+	"Kya_New/enums"
6
+	"Kya_New/models"
7
+	"Kya_New/service/login_service"
8
+	"Kya_New/service/patient_service"
9
+	"Kya_New/sms_service"
10
+	"Kya_New/utils"
11 11
 	"encoding/json"
12 12
 	"fmt"
13 13
 	"github.com/astaxie/beego"

+ 7 - 7
controllers/manage/manage_controller.go Visa fil

@@ -1,13 +1,13 @@
1 1
 package manage
2 2
 
3 3
 import (
4
-	"KYA/controllers"
5
-	"KYA/enums"
6
-	"KYA/models"
7
-	"KYA/service/login_service"
8
-	"KYA/service/manage_service"
9
-	"KYA/service/patient_service"
10
-	"KYA/utils"
4
+	"Kya_New/controllers"
5
+	"Kya_New/enums"
6
+	"Kya_New/models"
7
+	"Kya_New/service/login_service"
8
+	"Kya_New/service/manage_service"
9
+	"Kya_New/service/patient_service"
10
+	"Kya_New/utils"
11 11
 	"encoding/json"
12 12
 	"fmt"
13 13
 	"github.com/astaxie/beego"

+ 2 - 2
controllers/patient/patient_controller.go Visa fil

@@ -1,8 +1,8 @@
1 1
 package patient
2 2
 
3 3
 import (
4
-	"KYA/controllers"
5
-	"KYA/enums"
4
+	"Kya_New/controllers"
5
+	"Kya_New/enums"
6 6
 )
7 7
 
8 8
 func PatientRouter() {

+ 1 - 1
enums/error_code.go Visa fil

@@ -1,6 +1,6 @@
1 1
 package enums
2 2
 
3
-import "KYA/utils"
3
+import "Kya_New/utils"
4 4
 
5 5
 const ( // ErrorCode
6 6
 	// 登录注册错误 6000+

+ 1 - 1
jobcron/qiliu_job.go Visa fil

@@ -1,7 +1,7 @@
1 1
 package jobcron
2 2
 
3 3
 import (
4
-	"KYA/service/login_service"
4
+	"Kya_New/service/login_service"
5 5
 	"fmt"
6 6
 	"github.com/astaxie/beego"
7 7
 	"github.com/qiniu/api.v7/auth/qbox"

+ 3 - 3
main.go Visa fil

@@ -1,9 +1,9 @@
1 1
 package main
2 2
 
3 3
 import (
4
-	"KYA/jobcron"
5
-	_ "KYA/routers"
6
-	"KYA/service"
4
+	"Kya_New/jobcron"
5
+	_ "Kya_New/routers"
6
+	"Kya_New/service"
7 7
 	"github.com/astaxie/beego"
8 8
 )
9 9
 

+ 3 - 3
routers/router.go Visa fil

@@ -1,9 +1,9 @@
1 1
 package routers
2 2
 
3 3
 import (
4
-	"KYA/controllers/login"
5
-	"KYA/controllers/manage"
6
-	"KYA/controllers/patient"
4
+	"Kya_New/controllers/login"
5
+	"Kya_New/controllers/manage"
6
+	"Kya_New/controllers/patient"
7 7
 	"github.com/astaxie/beego"
8 8
 	"github.com/astaxie/beego/plugins/cors"
9 9
 )

+ 3 - 3
service/login_service/login_service.go Visa fil

@@ -1,9 +1,9 @@
1 1
 package login_service
2 2
 
3 3
 import (
4
-	"KYA/models"
5
-	"KYA/service"
6
-	"KYA/utils"
4
+	"Kya_New/models"
5
+	"Kya_New/service"
6
+	"Kya_New/utils"
7 7
 	"fmt"
8 8
 	"github.com/astaxie/beego"
9 9
 	"github.com/go-redis/redis"

+ 2 - 2
service/manage_service/manage_service.go Visa fil

@@ -1,8 +1,8 @@
1 1
 package manage_service
2 2
 
3 3
 import (
4
-	"KYA/models"
5
-	"KYA/service"
4
+	"Kya_New/models"
5
+	"Kya_New/service"
6 6
 	"fmt"
7 7
 	"github.com/jinzhu/gorm"
8 8
 	"strings"

+ 2 - 2
service/patient_service/patient_service.go Visa fil

@@ -1,8 +1,8 @@
1 1
 package patient_service
2 2
 
3 3
 import (
4
-	"KYA/models"
5
-	"KYA/service"
4
+	"Kya_New/models"
5
+	"Kya_New/service"
6 6
 	"fmt"
7 7
 	"strconv"
8 8
 	"strings"

+ 3 - 3
sms_service/sms_db_service.go Visa fil

@@ -3,9 +3,9 @@ package sms_service
3 3
 import (
4 4
 	"time"
5 5
 
6
-	"KYA/models"
7
-	"KYA/service"
8
-	"KYA/utils"
6
+	"Kya_New/models"
7
+	"Kya_New/service"
8
+	"Kya_New/utils"
9 9
 	"github.com/jinzhu/gorm"
10 10
 )
11 11
 

+ 3 - 3
sms_service/sms_service.go Visa fil

@@ -1,9 +1,9 @@
1 1
 package sms_service
2 2
 
3 3
 import (
4
-	"KYA/models"
5
-	base "KYA/service"
6
-	"KYA/utils"
4
+	"Kya_New/models"
5
+	base "Kya_New/service"
6
+	"Kya_New/utils"
7 7
 	"errors"
8 8
 	"fmt"
9 9
 	"math"

+ 1 - 1
sms_service/ucpaas.go Visa fil

@@ -1,7 +1,7 @@
1 1
 package sms_service
2 2
 
3 3
 import (
4
-	"KYA/utils"
4
+	"Kya_New/utils"
5 5
 	"bytes"
6 6
 	"encoding/json"
7 7
 	"errors"