|
@@ -1,12 +1,14 @@
|
|
package com.pj.tb_purchaser;
|
|
package com.pj.tb_purchaser;
|
|
|
|
|
|
import com.pj.api.dto.PurchaserDto;
|
|
import com.pj.api.dto.PurchaserDto;
|
|
|
|
+import com.pj.tb_purchaser.param.PurchaserParam;
|
|
import com.pj.utils.sg.AjaxJson;
|
|
import com.pj.utils.sg.AjaxJson;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
+import java.text.ParseException;
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -37,7 +39,7 @@ public class TbPurchaserAppController {
|
|
|
|
|
|
/** 收购商认证 */
|
|
/** 收购商认证 */
|
|
@RequestMapping("identification")
|
|
@RequestMapping("identification")
|
|
- public AjaxJson identification(TbPurchaser purchaser) {
|
|
|
|
|
|
+ public AjaxJson identification(PurchaserParam purchaser) throws ParseException {
|
|
boolean identification = tbPurchaserService.identification(purchaser);
|
|
boolean identification = tbPurchaserService.identification(purchaser);
|
|
if(!identification) return AjaxJson.getError("收购商认证信息提交失败!!!");
|
|
if(!identification) return AjaxJson.getError("收购商认证信息提交失败!!!");
|
|
|
|
|