You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
376 B
11 lines
376 B
5 years ago
|
import 'package:recook/constants/api_v2.dart';
|
||
|
import 'package:recook/manager/http_manager.dart';
|
||
|
import 'package:recook/pages/user/model/user_benefit_model.dart';
|
||
|
|
||
|
class UserBenefitFunc {
|
||
|
static Future<UserBenefitModel> update() async {
|
||
|
ResultData result = await HttpManager.post(APIV2.userAPI.userBenefit, {});
|
||
|
return UserBenefitModel.fromJson(result.data);
|
||
|
}
|
||
|
}
|