暂存
This commit is contained in:
+23
-7
@@ -6,10 +6,7 @@ import com.ruoyi.wisdomarbitrate.domain.CaseApplication;
|
||||
import com.ruoyi.wisdomarbitrate.service.IAdjudicationService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/adjudication")
|
||||
@@ -26,8 +23,27 @@ public class AdjudicationController extends BaseController {
|
||||
public AjaxResult createDocument(@Validated @RequestBody CaseApplication caseApplication){
|
||||
return adjudicationService.createDocument(caseApplication);
|
||||
}
|
||||
@PostMapping("/")
|
||||
public AjaxResult sendDocumentByEmail(){
|
||||
return adjudicationService.sendDocumentByEmail();
|
||||
|
||||
/**
|
||||
* 裁决书送达(电子邮件)
|
||||
* @param id 案件id
|
||||
* @param appEmail 申请人邮箱
|
||||
* @param resEmail 被申请人邮箱
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/delivery")
|
||||
public AjaxResult sendDocumentByEmail(Long id,String appEmail,String resEmail){
|
||||
return adjudicationService.sendDocumentByEmail(id,appEmail,resEmail);
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据快递单号查询物流信息
|
||||
* @param trackingNum 单号
|
||||
* @param phoneLastFour 收/寄件人手机号后四位,顺丰快递需填写本字段。
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/logistics")
|
||||
public AjaxResult getLogisticsInfo(String trackingNum,Integer phoneLastFour){
|
||||
return adjudicationService.getLogisticsInfo(trackingNum,phoneLastFour);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user