| 123456789101112131415161718192021 |
- import 'package:bbyyy/my_tools/my_cookie.dart';
- class MyUrl {
- static String checkLogin = '/aa/checkLogin';
- static String login = '/aa/login';
- static String registered = '/reg/user';
- static String filePath = MyCookie().getServer() + '/file/download?path=';
- }
- String imgURL(String path) {
- return MyUrl.filePath +
- path +
- '&__token__=12345678&__user__=123&preview=true';
- }
- String apkURL(String path) {
- return MyUrl.filePath +
- path +
- '&__token__=12345678&__user__=123&preview=false';
- }
|