|
|
@@ -42,6 +42,8 @@ public class DoubleHundredApiController {
|
|
|
@ApiImplicitParam(name = "introduction", value = "企业介绍", required = true, paramType = "form"),
|
|
|
@ApiImplicitParam(name = "income", value = "收入", required = true, paramType = "form"),
|
|
|
@ApiImplicitParam(name = "payTaxes", value = "纳税", required = true, paramType = "form"),
|
|
|
+ @ApiImplicitParam(name = "corporate", value = "企业法人", required = true, paramType = "form"),
|
|
|
+ @ApiImplicitParam(name = "corporatePhone", value = "法人联系方式", required = true, paramType = "form"),
|
|
|
@ApiImplicitParam(name = "personId", value = "提交用户ID(没有则不传)", paramType = "form"),
|
|
|
@ApiImplicitParam(name = "openId", value = "openId", paramType = "form"),
|
|
|
})
|
|
|
@@ -53,6 +55,8 @@ public class DoubleHundredApiController {
|
|
|
@RequestParam(value="income",defaultValue="") String income,
|
|
|
@RequestParam(value="payTaxes",defaultValue="") String payTaxes,
|
|
|
@RequestParam(value="personId",defaultValue="") String personId,
|
|
|
+ @RequestParam(value="corporate",defaultValue="") String corporate,
|
|
|
+ @RequestParam(value="corporatePhone",defaultValue="") String corporatePhone,
|
|
|
@RequestParam(value="openId",defaultValue="") String openId) {
|
|
|
MessageResult<Map> messageResult = new MessageResult<>();
|
|
|
try {
|
|
|
@@ -74,6 +78,8 @@ public class DoubleHundredApiController {
|
|
|
dh.setIntroduction(introduction);
|
|
|
dh.setIncome(income);
|
|
|
dh.setPayTaxes(payTaxes);
|
|
|
+ dh.setCorporate(corporate);
|
|
|
+ dh.setCorporatePhone(corporatePhone);
|
|
|
if(StringUtils.isNotEmpty(personId)) {
|
|
|
dh.setCreateBy(personId);
|
|
|
}
|