请详细描述问题。
请提供代码,错误的详细信息。

2016-07-19 18:48:19.166 loversbet[7272:2342381] [DEBUG] _59-[AVPaasClient performRequest:saveResult:block:retryTimes:]block_invoke.408 [Line 603]

------ BEGIN LeanCloud REST Response ------
path: /1.1/users
cost: 0.285s
response: Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: not modified (304)" UserInfo={com.alamofire.serialization.response.error.response= { URL: https://api.leancloud.cn/1.1/users?where=%7B%22%24relatedTo%22%3A%7B%22key%22%3A%22followers%22%2C%22object%22%3A%7B%22__type%22%3A%22Pointer%22%2C%22className%22%3A%22GuessGame%22%2C%22objectId%22%3A%22578dfd1ec4c971005e029b20%22%7D%7D%7D } { status code: 304, headers {
"Cache-Control" = "no-cache,no-store";
"Content-Type" = "application/json;charset=utf-8";
Date = "Tue, 19 Jul 2016 10:48:19 GMT";
"Last-Modified" = "Tue, 19 Jul 2016 18:12:46.998 GMT";
Pragma = "no-cache";
Server = nginx;
"Strict-Transport-Security" = "max-age=31536000";
} }, NSErrorFailingURLKey=https://api.leancloud.cn/1.1/users?where=%7B%22%24relatedTo%22%3A%7B%22key%22%3A%22followers%22%2C%22object%22%3A%7B%22__type%22%3A%22Pointer%22%2C%22className%22%3A%22GuessGame%22%2C%22objectId%22%3A%22578dfd1ec4c971005e029b20%22%7D%7D%7D, com.alamofire.serialization.response.error.data=<>, NSLocalizedDescription=Request failed: not modified (304)}
------ END --------------------------------

-(void)follersCountWithBlock:(AVIntegerResultBlock)block
{
    AVRelation *reation = [self relationForKey:@"followers"];
    AVQuery *query = [reation query];
    query.cachePolicy = kAVCachePolicyNetworkOnly;
    query.maxCacheAge = 0;

    [query countObjectsInBackgroundWithBlock:^(NSInteger number, NSError *error) {
        block(number,error);
    }];
}
-(void)followersContainUserCurrentUserBlock:(AVObjectResultBlock)block
{
    AVRelation *reation = [self relationForKey:@"followers"];
    AVQuery *query = [reation query];
    query.maxCacheAge = 0;

    [query whereKey:KEY_OBJECT_ID equalTo:[AVUser currentUser].objectId];
    [query findObjectsInBackgroundWithBlock:^(NSArray *objects, NSError *error) {
        if (objects.count > 0) {
            block(objects[0],error);
        }
        else
        {
            block(nil,error);
        }
    }];
}
+(void)findObjectInbackGroundWithObjectId:(NSString *)objectId  block:(void(^)(GuessGame *object, NSError *error))block
{
    AVQuery *query = [GuessGame query];
    [query includeKey:GUESS_AUTHOR];
    [query getObjectInBackgroundWithId:objectId block:^(AVObject *object, NSError *error) {
        block((GuessGame *)object,error);
    }];
}

这个几个relation的query都是上一次的结果,第一次不会有304,第二次去查询的时候都是304,可是leancloud后台明明已经加了一个新的对象到relation里面

setLastModifyEnabled ,是的,谢谢你提醒

你好,我们确认了一下 LastModify 是支持且可用的。
这个 304 的意思是提醒数据没有改变,而不是报错。

如果后台数据已经变了,却依然出现了 304 的提示,请将 Request 和 Response 日志一起粘贴出来看下。
打开日志的方法:
[AVOSCloud setAllLogsEnabled:YES];