| | |
| | | */ |
| | | |
| | | public class API { |
| | | public static final String URL_HTTP = "http://121.40.92.176:5000"; |
| | | public static final String URL_HTTP = "http://yfsapi.7drlb.com/yfs/?service="; |
| | | |
| | | public final static String REQUEST_CODE = URL_HTTP + "/user/request_code";//获取验证码 |
| | | public final static String REQUEST_CODE = URL_HTTP + "Send.Register_sms";//获取验证码 |
| | | |
| | | public final static String REGISTER = URL_HTTP + "/user/register";//用户注册 |
| | | public final static String REGISTER = URL_HTTP + "User.Register";//用户注册 |
| | | |
| | | public final static String FORGET_PSW = URL_HTTP + "/user/forget_psw";//找回密码 |
| | | public final static String LOGIN = URL_HTTP + "User.Login";//用户登录 |
| | | |
| | | public final static String LOGIN = URL_HTTP + "/user/login";//用户登录 |
| | | public final static String GET_INFO = URL_HTTP + "User.GetUserInfo";//用户信息 |
| | | |
| | | public final static String GET_INFO = URL_HTTP + "/user/get_info";//用户信息 |
| | | public final static String FORGET_PSW = URL_HTTP + "User.ResetPwd";//忘记密码 |
| | | |
| | | public final static String UPDATE_DEVICENAME = URL_HTTP + "/user/update_devicename";//修改设备名称 |
| | | public final static String UPLOAD = URL_HTTP + "Data.upload";//上传数据 |
| | | |
| | | public final static String UPDATE_NAME = URL_HTTP + "/user/update_name";//更新用户名称 |
| | | |
| | | public final static String CHANGE_PSW = URL_HTTP + "/user/change_psw";//用户修改密码 |
| | | |
| | | public final static String ADD_DEVICE = URL_HTTP + "/user/add_device";//绑定设备 |
| | | |
| | | public final static String UNBIND = URL_HTTP + "/user/unbind";//解绑设备 |
| | | |
| | | public final static String GET_DEVICE_INFO = URL_HTTP + "/user/get_device_info";//用户设备列表 |
| | | |
| | | public final static String GET_DEVICE_INFO_WAITER = URL_HTTP + "/waiter/get_device_info";//用户设备列表 |
| | | |
| | | public final static String CHANGE = URL_HTTP + "/device/change";//设备变更提交 |
| | | |
| | | public final static String UPDATE_AD = URL_HTTP + "/device/update_ad";//发布广告 |
| | | |
| | | public final static String UPDATE_ADMODE = URL_HTTP + "/device/update_admode";//开关广告 |
| | | |
| | | public final static String RETURN_BACK = URL_HTTP + "/device/return_back";//换回设备 |
| | | |
| | | public final static String CREATE_WAITER = URL_HTTP + "/user/create_waiter";//创建酒店账号 |
| | | |
| | | public final static String GET_FILE_LIST = URL_HTTP + "/file/get_list";//文件列表 |
| | | |
| | | public final static String GET_NOTICE_LIST = URL_HTTP + "/notice/get_list";//公告列表 |
| | | |
| | | public final static String SIGN_IN = URL_HTTP + "/user/sign_in";//签到 |
| | | |
| | | public final static String SIGN_OUT = URL_HTTP + "/user/sign_out";//签退 |
| | | |
| | | public final static String GET_SIGN_INFO = URL_HTTP + "/user/get_sign_info";//签到信息 |
| | | |
| | | public final static String GET_LATEST_LIST = URL_HTTP + "/notice/get_latest_list";//最新通知 |
| | | |
| | | public final static String CREATE = URL_HTTP + "/spare/create";//创建酒店备品 |
| | | |
| | | public final static String GET_LIST = URL_HTTP + "/spare/get_list";//酒店备品 |
| | | |
| | | public final static String GET_LIST2 = URL_HTTP + "/spare/get_list2";//酒店闲置备品 |
| | | |
| | | public final static String UPDATE = URL_HTTP + "/spare/update";//更新酒店备品 |
| | | |
| | | // http://121.40.92.176:5000/user/590bdd6964f074059812fe26/get_hotel_list 获取指定用户关联酒店列表 |
| | | // http://121.40.92.176:5000/hotel/591a66002b153bee6e5b6830/get_room_list 获取指定酒店所有房间 |
| | | public final static String UPDATEUSERINFO = URL_HTTP + "User.UpdateUserInfo";//修改个人数据 |
| | | } |