|
@@ -251,7 +251,7 @@ func (this *BaseController) Prepare() {
|
|
|
"/api/webinterface/preparelist", "/api/webinterface/prepareinfo",
|
|
"/api/webinterface/preparelist", "/api/webinterface/prepareinfo",
|
|
|
"/api/sampletest_v/sampletest", "/api/sampletest_v/getpass", "/api/sampletest_v/editpass/",
|
|
"/api/sampletest_v/sampletest", "/api/sampletest_v/getpass", "/api/sampletest_v/editpass/",
|
|
|
"/api/sampletest_v/donorsdetail", "/api/sampletest_v/testdetail", "/api/uploads/samplesinput", "/api/doctemplate_onlyoffice/callback", "/api/doctemplate_onlyoffice/viewcallback", "/api/limsupload/usersignimg",
|
|
"/api/sampletest_v/donorsdetail", "/api/sampletest_v/testdetail", "/api/uploads/samplesinput", "/api/doctemplate_onlyoffice/callback", "/api/doctemplate_onlyoffice/viewcallback", "/api/limsupload/usersignimg",
|
|
|
- "/api/uploads/samplestypeimg", "/api/limsdataentry/historyimg/"}
|
|
|
|
|
|
|
+ "/api/uploads/samplestypeimg", "/api/workflow/historyimg/"}
|
|
|
for _, v := range urls {
|
|
for _, v := range urls {
|
|
|
fmt.Println("**this.Ctx.Input.URL()**", this.Ctx.Input.URL())
|
|
fmt.Println("**this.Ctx.Input.URL()**", this.Ctx.Input.URL())
|
|
|
if this.Ctx.Input.URL() == v {
|
|
if this.Ctx.Input.URL() == v {
|
|
@@ -263,9 +263,9 @@ func (this *BaseController) Prepare() {
|
|
|
fmt.Println("/api/sampletest_v/editpass/")
|
|
fmt.Println("/api/sampletest_v/editpass/")
|
|
|
break
|
|
break
|
|
|
}
|
|
}
|
|
|
- if strings.Contains(this.Ctx.Input.URL(), "/api/limsdataentry/historyimg/") {
|
|
|
|
|
|
|
+ if strings.Contains(this.Ctx.Input.URL(), "/api/workflow/historyimg/") {
|
|
|
find = true
|
|
find = true
|
|
|
- fmt.Println("/api/limsdataentry/historyimg/")
|
|
|
|
|
|
|
+ fmt.Println("/api/workflow/historyimg/")
|
|
|
break
|
|
break
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|