|
|
@@ -275,11 +275,20 @@ func (this *BaseController) Prepare() {
|
|
|
find := false
|
|
|
|
|
|
// 不需要做登录验证的页面
|
|
|
- urls := []string{"/api/auth", "/api/users/registemanage", "/printservice",
|
|
|
- "/api/webinterface/preparelist", "/api/webinterface/prepareinfo",
|
|
|
- "/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/uploads/samplestypeimg", "/api/workflow/historyimg/", "/api/document/getdocumentnameandtime", "/api/annualaudit/auditcallback", "/api/suppliercert/auditcallback", "/api/register/addentity", "/api/register/getsuppliername", "/api/register/getdictlist"}
|
|
|
+ urls := []string{
|
|
|
+ "/api/auth",
|
|
|
+ "/api/users/registemanage",
|
|
|
+ "/printservice",
|
|
|
+ "/api/uploads/samplestypeimg",
|
|
|
+ "/api/workflow/historyimg/",
|
|
|
+ "/api/document/getdocumentnameandtime",
|
|
|
+ "/api/annualaudit/auditcallback",
|
|
|
+ "/api/suppliercert/auditcallback",
|
|
|
+ "/api/register/addentity",
|
|
|
+ "/api/register/getsuppliername",
|
|
|
+ "/api/register/getdictlist",
|
|
|
+ "/api/rtx/call",
|
|
|
+ }
|
|
|
for _, v := range urls {
|
|
|
fmt.Println("**this.Ctx.Input.URL()**", this.Ctx.Input.URL())
|
|
|
if this.Ctx.Input.URL() == v {
|