|
@@ -372,6 +372,7 @@ public class UserApiController {
|
|
|
@ApiImplicitParam(name = "type", value = "认证类型(0个人,1企业 不传默认0", required = false, paramType = "form"),
|
|
|
@ApiImplicitParam(name = "address", value = "地址", required = false, paramType = "form"),
|
|
|
@ApiImplicitParam(name = "contactsPersonId", value = "联系人", required = false, paramType = "form"),
|
|
|
+ @ApiImplicitParam(name = "contactsPhone", value = "联系方式", required = false, paramType = "form"),
|
|
|
})
|
|
|
public MessageResult<Map> createAuthentication(
|
|
|
@RequestParam(value="realName",defaultValue="") String realName,
|
|
@@ -381,6 +382,7 @@ public class UserApiController {
|
|
|
@RequestParam(value="type",defaultValue="0") String type,
|
|
|
@RequestParam(value="address",defaultValue="") String address,
|
|
|
@RequestParam(value="contactsPersonId",defaultValue="") String contactsPersonId,
|
|
|
+ @RequestParam(value="contactsPhone",defaultValue="") String contactsPhone,
|
|
|
@RequestAttribute String subject){
|
|
|
|
|
|
MessageResult<Map> msgResult = new MessageResult<>();
|
|
@@ -411,6 +413,8 @@ public class UserApiController {
|
|
|
enterpriseInfo.setStatus("0");
|
|
|
enterpriseInfo.setAddress(address);
|
|
|
enterpriseInfo.setContactsPersonId(contactsPersonId);
|
|
|
+ enterpriseInfo.setContactsPhone(contactsPhone);
|
|
|
+ enterpriseInfo.setCheckTime(new Date());//认证时间
|
|
|
|
|
|
enterpriseInfoService.update(enterpriseInfo);
|
|
|
}else{
|
|
@@ -424,6 +428,8 @@ public class UserApiController {
|
|
|
enterpriseInfo.setStatus("0");
|
|
|
enterpriseInfo.setAddress(address);
|
|
|
enterpriseInfo.setContactsPersonId(contactsPersonId);
|
|
|
+ enterpriseInfo.setContactsPhone(contactsPhone);
|
|
|
+ enterpriseInfo.setCheckTime(new Date());//认证时间
|
|
|
|
|
|
int count = enterpriseInfoService.insert(enterpriseInfo);
|
|
|
|