Browse Source

Merge branch 'master' of http://git.shengws.com/csx/gdyb

csx 2 years ago
parent
commit
a0c25b3093
2 changed files with 8 additions and 8 deletions
  1. 1 1
      controllers/nm/nm_controller.go
  2. 7 7
      main.go

+ 1 - 1
controllers/nm/nm_controller.go View File

@@ -29,7 +29,7 @@ func NmybRegistRouters() {
29 29
 	beego.Router("/nmyb/2401", &NmController{}, "post:Post2401")
30 30
 	beego.Router("/nmyb/2402", &NmController{}, "post:Post2402")
31 31
 	beego.Router("/nmyb/2404", &NmController{}, "get:Post2404")
32
-	beego.Router("/nmyb/2405", &NmController{}, "post:Post2405")
32
+	beego.Router("/nmyb/2405", &NmController{}, "get:Post2405")
33 33
 	beego.Router("/nmyb/2301", &NmController{}, "post:Post2301")
34 34
 	beego.Router("/nmyb/2302", &NmController{}, "get:Post2302")
35 35
 	beego.Router("/nmyb/2303", &NmController{}, "get:Post2303")

+ 7 - 7
main.go View File

@@ -5,7 +5,7 @@ import (
5 5
 	"fmt"
6 6
 	"gdyb/models"
7 7
 	_ "gdyb/routers"
8
-	"gdyb/service"
8
+	//"gdyb/service"
9 9
 	"github.com/astaxie/beego"
10 10
 	"github.com/qiniu/api.v7/auth/qbox"
11 11
 	"github.com/qiniu/api.v7/storage"
@@ -15,12 +15,12 @@ import (
15 15
 )
16 16
 
17 17
 func init() {
18
-	service.ConnectDB()
19
-	org_id, _ := beego.AppConfig.Int64("org_id")
20
-
21
-	miConfig, _ := service.FindMedicalInsuranceInfo(org_id)
22
-	CreateLog(miConfig)
23
-	UploadLog(miConfig)
18
+	//service.ConnectDB()
19
+	//org_id, _ := beego.AppConfig.Int64("org_id")
20
+	//
21
+	//miConfig, _ := service.FindMedicalInsuranceInfo(org_id)
22
+	//CreateLog(miConfig)
23
+	//UploadLog(miConfig)
24 24
 
25 25
 	//UploadSettleList(org_id)
26 26
 }