|
@@ -453,7 +453,7 @@ func Subscribe(w ResponseWriter, r *Request) {
|
|
|
var pccodepre = ""
|
|
|
if len(strings.Split(r.EventKey, "_")) == 2 {
|
|
|
source = strings.Split(r.EventKey, "_")[1]
|
|
|
- } else if len(strings.Split(r.EventKey, "_")) == 3 {
|
|
|
+ } else if len(strings.Split(r.EventKey, "_")) >= 3 {
|
|
|
source = strings.SplitN(r.EventKey, "_", 2)[1]
|
|
|
}
|
|
|
shareData := redis.Get("sso", "p_shareData_"+source)
|