ソースを参照

8.16 当一级商户叫车时,组长的脏数据无法取消订单

Mechrevo 1 年間 前
コミット
6675093a89

+ 3 - 1
sp-service/level-two-server/src/main/java/com/pj/tb_purchaser/TbPurchaserAppController.java

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