|
@@ -306,7 +306,7 @@ func (s *Short) Article(stype, id string) error {
|
|
|
//}
|
|
|
}
|
|
|
}
|
|
|
- if from_userid != "" && se.Decode4Hex(from_userid) != "" && from_userid != userId && util.ObjToString(obj["subtype"]) != "拟建" { //分享开打的
|
|
|
+ if from_userid != "" && se.Decode4Hex(from_userid) != "" && se.Decode4Hex(from_userid) != userId && util.ObjToString(obj["subtype"]) != "拟建" { //分享开打的
|
|
|
article_id := util.CommonDecodeArticle(stype, id)[0]
|
|
|
key := fmt.Sprintf("integral_article_%s_%s_%s", article_id, from_userid, userId)
|
|
|
if redis.Incr("other", key) == 1 {
|