mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
@@ -2,6 +2,7 @@ import 'dart:math';
|
||||
|
||||
import 'package:PiliPlus/http/loading_state.dart';
|
||||
import 'package:PiliPlus/http/member.dart';
|
||||
import 'package:PiliPlus/http/user.dart';
|
||||
import 'package:PiliPlus/http/video.dart';
|
||||
import 'package:PiliPlus/models/common/member/tab_type.dart';
|
||||
import 'package:PiliPlus/models_new/space/space/data.dart';
|
||||
@@ -255,4 +256,13 @@ class MemberController extends CommonDataController<SpaceData, SpaceData?>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> vipExpAdd() async {
|
||||
var res = await UserHttp.vipExpAdd();
|
||||
if (res['status']) {
|
||||
SmartDialog.showToast('领取成功');
|
||||
} else {
|
||||
SmartDialog.showToast(res['msg']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user