//
//  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/"

// 检查更新
#define kCheckUpdateURL @"redstar-server/rest/ipapk?type=ipa"

// 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"



// 提交评论
//#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"

// 上报巡检结果
#define kUpLoadInspectResult @"redstar-server/rest/praise/report/"

// 公告
#define kAnnounceListURL @"redstar-server/rest/affiche/download/"

// 单个公告详情
#define kAnnounceDetailURL @"redstar-server/rest/affiche/get/"

// 提交公告
#define kAnnounceYetReadURL @"redstar-server/rest/affiche/read/"

#endif /* Url_h */
