api_constants.dart 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. //网络请求相关Api常量
  2. class ApiConstants {
  3. //基础域名
  4. static const baseUrl = 'http://vietnam-dev.casualabour.com'; //测试环境
  5. //网络请求加密 Key
  6. static const encrypterKey = 'xxxx'; //加密Key
  7. // =========================== 用户相关 ↓=========================================
  8. // 酒店登录
  9. static const apiUserLogin = "/index.php/api/v1/hotel/login";
  10. // 用户登出系统
  11. static const apiUserLogout = "/index.php/api/v1/hotel/logout";
  12. // 用户修改密码
  13. static const apiResetPassword = "/index.php/api/v1/hotel/reset";
  14. //获取用户的详情信息
  15. static const apiHotelInfo = "/index.php/api/v1/hotel/info";
  16. //用户注册
  17. static const apiHotelRegister = "/index.php/api/v1/hotel/register";
  18. // =========================== 签到签出 ↓=========================================
  19. // 用户签到签出列表
  20. static const apiSignApplied = "/index.php/api/v1/hotel/sign/table";
  21. // 用户签到签出
  22. static const apiSignInOut = "/index.php/api/v1/hotel/sign/clock";
  23. }