黑白灰名单,不返回创建后的手机号

This commit is contained in:
Shaun Chyxion 2021-09-14 00:20:15 +08:00 committed by Donghuang
parent f84695eb5f
commit 4133a86da2

View File

@ -64,4 +64,14 @@ public class PhoneListController<M extends PhoneList,
public int upload(final FormCreateUploadPhoneList form) {
return ((PhoneListService<M, FC, FU>) crudService).upload(form);
}
/**
* {@inheritDoc}
*/
@Override
public ViewModel<M> update(final FU form) {
super.update(form);
// 不返回创建后的数据隐藏真实号码
return new ViewModel<>();
}
}