//
//  Url.h
//  redstar
//
//  Created by admin on 15/11/2.
//  Copyright © 2015年 ZWF. All rights reserved.
//

#ifndef Url_h
#define Url_h

// url
#define kRedStarURL  @"http://218.244.151.129:7580/"

// login
#define kLoginURL @"redstar-server/rest/user/login/"

// QuestionList
#define kQuestionListURL @"redstar-server/rest/question/query"

#define kQuestionDetailURL @"redstar-server/rest/question/get/"

// InspectList获取口碑列表
#define kInspectListURL @"redstar-server/rest/praise/query"

// 口碑巡检明细
#define kInspectDetailURL @"redstar-server/rest/praise/get/"

// 口碑排名列表
#define kRankingListURL @"redstar-server/rest/praise/ranking"

// 提交问题
// http://.../redstar-server/rest/question/submit?time={time}&operId={operId}&operName={operName}
#define kAddQuestionURL @""

// 提交评论
//#define kAddCommentURL @"redstar-server/rest/comment/submit?time=2015-06-25+13:59:26&operId=admin&operName=admin"
#define kAddCommentURL @"redstar-server/rest/comment/submit"

// 点赞
#define kAddLikeURL @"redstar-server/rest/question/like/"

// 取消点赞
#define kCancelLikeURL @"redstar-server/rest/question/cancel_like/"

// 上传新问题
#define kUpLoadQuestionURL @"redstar-server/rest/question/submit"

#endif /* Url_h */
