赠送装扮失败toast
This commit is contained in:
@@ -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;
|
||||
|
@@ -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];
|
||||
}
|
||||
|
Reference in New Issue
Block a user