csx 4 years ago
parent
commit
cbe07de2b5

+ 1 - 1
controllers/base_api_controller.go View File

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

+ 7 - 7
controllers/login/login_controller.go View File

1
 package login
1
 package login
2
 
2
 
3
 import (
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
 	"encoding/json"
11
 	"encoding/json"
12
 	"fmt"
12
 	"fmt"
13
 	"github.com/astaxie/beego"
13
 	"github.com/astaxie/beego"

+ 7 - 7
controllers/manage/manage_controller.go View File

1
 package manage
1
 package manage
2
 
2
 
3
 import (
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
 	"encoding/json"
11
 	"encoding/json"
12
 	"fmt"
12
 	"fmt"
13
 	"github.com/astaxie/beego"
13
 	"github.com/astaxie/beego"

+ 2 - 2
controllers/patient/patient_controller.go View File

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

+ 1 - 1
enums/error_code.go View File

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

+ 1 - 1
jobcron/qiliu_job.go View File

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

+ 3 - 3
main.go View File

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

+ 3 - 3
routers/router.go View File

1
 package routers
1
 package routers
2
 
2
 
3
 import (
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
 	"github.com/astaxie/beego"
7
 	"github.com/astaxie/beego"
8
 	"github.com/astaxie/beego/plugins/cors"
8
 	"github.com/astaxie/beego/plugins/cors"
9
 )
9
 )

+ 3 - 3
service/login_service/login_service.go View File

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

+ 2 - 2
service/manage_service/manage_service.go View File

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

+ 2 - 2
service/patient_service/patient_service.go View File

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

+ 3 - 3
sms_service/sms_db_service.go View File

3
 import (
3
 import (
4
 	"time"
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
 	"github.com/jinzhu/gorm"
9
 	"github.com/jinzhu/gorm"
10
 )
10
 )
11
 
11
 

+ 3 - 3
sms_service/sms_service.go View File

1
 package sms_service
1
 package sms_service
2
 
2
 
3
 import (
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
 	"errors"
7
 	"errors"
8
 	"fmt"
8
 	"fmt"
9
 	"math"
9
 	"math"

+ 1 - 1
sms_service/ucpaas.go View File

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