|
@@ -1224,7 +1224,7 @@ func (s *Short) NologinCommon(userId, stype, id, sid string) error {
|
|
if obj != nil && len(obj) > 0 {
|
|
if obj != nil && len(obj) > 0 {
|
|
// p397 未登录不能查看拟建项目
|
|
// p397 未登录不能查看拟建项目
|
|
if !ipTrue && (obj["subtype"] == "采购意向" || obj["subtype"] == "拟建") { //未登录不能访问采购意向
|
|
if !ipTrue && (obj["subtype"] == "采购意向" || obj["subtype"] == "拟建") { //未登录不能访问采购意向
|
|
- return s.Redirect("/notin/page", 302)
|
|
|
|
|
|
+ return s.Redirect(fmt.Sprintf("/notin/page?backTo=%s", s.Request.URL), 302)
|
|
}
|
|
}
|
|
if len(po) > 0 {
|
|
if len(po) > 0 {
|
|
s.T["projectOther"] = po
|
|
s.T["projectOther"] = po
|