12345678910111213141516171819202122232425262728293031323334353637 |
- //
- // ASNetApis.h
- // Asteria
- //
- // Created by iOS on 2023/11/25.
- //
- #ifndef ASNetApis_h
- #define ASNetApis_h
- #define TokenKey @"ASUserToken"
- #define BaseRequestrUrl(url) ([NSString stringWithFormat:@"%@%@",@"rest/V1/",url])
- // MARK: - host
- #if (DEBUG)
- #define HostPath @"pc.bilisar.com"//@"www.bilisar.com"//@"https://www.bilisar.com/" //测试
- #else
- #define HostPath @"pc.bilisar.com"//@"https://pc.bilisar.com/" //正式
- #endif
- // MARK: - path
- // MARK: - userinfo
- #define registerUrl BaseRequestrUrl(@"customers")
- #define loginUrl BaseRequestrUrl(@"integration/customer/token")
- #define userinfoUrl BaseRequestrUrl(@"customers/me")
- #define vipInfoUrl BaseRequestrUrl(@"vip/index")
- #define userBirthUrl BaseRequestrUrl(@"vip/birthday")
- //MARK: - 个人中心
- #define getSignStateUrl BaseRequestrUrl(@"sign/index")
- #define postSignUrl BaseRequestrUrl(@"sign/add")
- #endif /* ASNetApis_h */
|