Merge remote-tracking branch 'origin/dev' into dev
commit
435c7a37ac
|
|
@ -7,6 +7,7 @@ import io.swagger.annotations.ApiOperation;
|
|||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.qinan.safetyeval.client.api.WpsApi;
|
||||
import org.qinan.safetyeval.client.co.WpsDocOpenCO;
|
||||
import org.qinan.safetyeval.infrastructure.dataobject.base.Req;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
|
|
@ -129,9 +130,9 @@ public class H5OpenController {
|
|||
|
||||
@ApiOperation("始终新建一份空白docx")
|
||||
@PostMapping(value = "/doc/create", produces = MediaType.APPLICATION_JSON_VALUE)
|
||||
public SingleResponse<WpsDocOpenCO> createBlank(@RequestParam("docxUrl") String docxUrl) {
|
||||
public SingleResponse<WpsDocOpenCO> createBlank(@RequestBody Req<String> req) {
|
||||
log.info("wps create blank");
|
||||
return SingleResponse.of(wpsApi.createBlank(docxUrl));
|
||||
return SingleResponse.of(wpsApi.createBlank(req.getData()));
|
||||
}
|
||||
|
||||
@ApiOperation("模版文档(固定)")
|
||||
|
|
|
|||
Loading…
Reference in New Issue