暂无描述

Interfaces.swift 1.9KB

    // // Interfaces.swift // PaiAi // // Created by FFIB on 2017/8/30. // Copyright © 2017年 yb. All rights reserved. // import UIKit public enum Interfaces: String { case baseUrl = "https://api.xfoto.com.cn" struct BaseUrl { static var baseUrl = URL(string: "http://api.xfoto.com.cn")! } case none = "" case tgInfo = "/pai2/tginfo" case submitLocation = "/geo/submit" case joinTourGroup = "/tgu/join" case home = "/pai2/home" //二维码 case joinGroup = "/g/join" case joinSession = "/s/join" //用户 case authorize = "/u/wx/authorize" case feedback = "/op/feedback" case guestLogin = "/u/guest/login" //群 case groupCreate = "/g/create" case groupList = "/g/list" case groupDetail = "/g/detail" case groupUpdate = "/g/update" case groupLock = "/g/lock" case groupUnlock = "/g/unlock" case groupQuit = "/g/quit" case groupRemove = "/g/remove" case groupDelete = "/g/delete" //照片 case groupPhotoList = "/f/list" case photoUpload = "/f/upload" case commentSubmit = "/f/comment/submit" case thumbupSubmit = "/f/thumbup/submit" case thumbupCancle = "/f/thumbup/cancel" case thumbupList = "/f/thumbup/list" case commentList = "/f/comment/list" case picPrice = "/f/price" //支付 case wxorderCreat = "/wx/order_create" case orderList = "/wx/order_list" case orderQuery = "/wx/order_query" case orderDetail = "/wx/order_detail" //消息 case mesList = "/msg/list" case mesSystemList = "/msg/system/list" case mesThumbupList = "/msg/thumbup/list" case mesCommentList = "/msg/comment/list" case mesThumbupClear = "/msg/thumbup/delete" case mesSystemClear = "/msg/system/delete" case mesCommentClear = "/msg/comment/delete" case mesSystemRead = "/msg/system/read" case mesCommentRead = "/msg/comment/read" case mesThumbupRead = "/msg/thumbup/read" }