赠送装扮失败toast

This commit is contained in:
chenguilong
2022-08-01 16:07:32 +08:00
parent 7eb9f78290
commit 356ea22ef9
2 changed files with 3 additions and 1 deletions

View File

@@ -216,7 +216,7 @@
- (UIButton *)useButton {
if (!_useButton) {
_useButton = [UIButton buttonWithType:UIButtonTypeCustom];
[_useButton setTitle:@"使用" forState:UIControlStateNormal];
[_useButton setTitle:@"购买" forState:UIControlStateNormal];
[_useButton setTitleColor:[ThemeColor confirmButtonTextColor] forState:UIControlStateNormal];
[_useButton addTarget:self action:@selector(useButtonAction:) forControlEvents:UIControlEventTouchUpInside];
_useButton.layer.masksToBounds = YES;

View File

@@ -111,6 +111,8 @@
[self hideHUD];
if (code == 200) {
[self showSuccessToast:@"赠送成功"];
} else {
[self showErrorToast:msg];
}
} dressType:[NSString stringWithFormat:@"%zd", self.dressType] dressId:self.dressId targetUid:resultModel.uid];
}