|
|
@@ -97,6 +97,11 @@ namespace MySystem.Areas.Api.Controllers.v1.Main1
|
|
|
{
|
|
|
return new AppResultJson() { Status = "-1", Info = "输入的创客信息不匹配" };
|
|
|
}
|
|
|
+ var check = UserSwapWhiteService.Query(" and UserId=" + user.Id + "");
|
|
|
+ if (check.Id > 0)
|
|
|
+ {
|
|
|
+ return new AppResultJson() { Status = "-1", Info = "已存在该风险创客信息,请勿重复添加" };
|
|
|
+ }
|
|
|
Dictionary<string, object> fields = new Dictionary<string, object>();
|
|
|
var sys = SysAdminService.Query(AppConfig.LoginSession.sysId);
|
|
|
fields.Add("CreateDate", DateTime.Now); //创建时间
|