maapple LV2
刚刚
Jieven 发表了文章
EovaMeta全新开源版发布,扫码进群,老用户都爽上了,就你还不知道!
86月前
maapple 每日打卡
获得金币+11,获得点播券+2
86月前
maapple 每日打卡
获得金币+15,获得点播券+2
86月前
maapple 回复
public String addBefore(AopContext ac) throws Exception {
//这里可以做手机以及邮箱的验证 为了方便只做昵称唯一的处理

String A= ac.record.getStr("A");
String B= ac.record.getStr("B");
Record table = Db.findFirst("select * from table where A=? and B = ?",A,B);
if (table !=null) {
return Easy.error("禁止重复添加!");
}
return super.addBefore(ac);
}
86月前
maapple 回复
@一个大好人 可以做保存校验,使用eova的拦截器实现
86月前
maapple 每日打卡
获得金币+17,获得点播券+2
86月前
maapple 每日打卡
获得金币+19,获得点播券+0
86月前
maapple 每日打卡
获得金币+9,获得点播券+2
86月前
maapple 每日打卡
获得金币+15,获得点播券+2
86月前
maapple 每日打卡
获得金币+9,获得点播券+2
86月前
maapple 每日打卡
获得金币+16,获得点播券+2