|
|
@ -4,6 +4,7 @@ import com.alibaba.fastjson.JSONObject;
|
|
|
|
import com.djy.core.http.HttpResult;
|
|
|
|
import com.djy.core.http.HttpResult;
|
|
|
|
import com.djy.invoice.dto.SendEmail;
|
|
|
|
import com.djy.invoice.dto.SendEmail;
|
|
|
|
import com.djy.invoice.dto.SendEmailParams;
|
|
|
|
import com.djy.invoice.dto.SendEmailParams;
|
|
|
|
|
|
|
|
import com.djy.invoice.model.InvInvoiceInfo;
|
|
|
|
import com.djy.invoice.model.InvLinkInfo;
|
|
|
|
import com.djy.invoice.model.InvLinkInfo;
|
|
|
|
import com.djy.invoice.service.InvLinkInfoService;
|
|
|
|
import com.djy.invoice.service.InvLinkInfoService;
|
|
|
|
import io.swagger.v3.oas.annotations.Operation;
|
|
|
|
import io.swagger.v3.oas.annotations.Operation;
|
|
|
@ -57,6 +58,13 @@ public class InvLinkInfoController {
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Operation(description = "获取链接下的发票")
|
|
|
|
|
|
|
|
@PostMapping("getLinkInvoice")
|
|
|
|
|
|
|
|
public HttpResult getLinkInvoice(InvLinkInfo info) {
|
|
|
|
|
|
|
|
List<InvInvoiceInfo> list = invLinkInfoService.getLinkInvoice(info);
|
|
|
|
|
|
|
|
return HttpResult.ok(list);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// @Operation(description = "查询发票")
|
|
|
|
// @Operation(description = "查询发票")
|
|
|
|
// @PostMapping("getInvoice")
|
|
|
|
// @PostMapping("getInvoice")
|
|
|
|
// public HttpResult getInvoice(InvLinkInfo info) {
|
|
|
|
// public HttpResult getInvoice(InvLinkInfo info) {
|
|
|
|