Commit 049ff40c authored by 陈祥烨's avatar 陈祥烨

代码调试

parent 3b9edc2f
...@@ -133,9 +133,9 @@ public class TemplateResource { ...@@ -133,9 +133,9 @@ public class TemplateResource {
* @return TemplateModel * @return TemplateModel
*/ */
@TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false) @TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false)
@CrossOrigin
@ApiOperation(httpMethod = "POST", value = "根据sequenceNbr导入content", notes = "根据sequenceNbr导入content") @ApiOperation(httpMethod = "POST", value = "根据sequenceNbr导入content", notes = "根据sequenceNbr导入content")
@PostMapping(value = "/import") @PostMapping(value = "/import")
@CrossOrigin(methods = RequestMethod.POST)
public ResponseModel<TemplateModel> importTpl(@RequestParam("file") MultipartFile multipartFile) throws IOException { public ResponseModel<TemplateModel> importTpl(@RequestParam("file") MultipartFile multipartFile) throws IOException {
return ResponseHelper.buildResponse(templateService.createWithModel(templateService.fileToTpl(multipartFile))); return ResponseHelper.buildResponse(templateService.createWithModel(templateService.fileToTpl(multipartFile)));
} }
......
spring.application.name=AMOS-ATL spring.application.name=AMOS-ATL
server.servlet.context-path=/atl #server.servlet.context-path=/atl
server.servlet.context-path=/jcs
server.port=30201 #server.port=30201
server.port=20000
spring.profiles.active=dev spring.profiles.active=dev
management.health.elasticsearch.enabled=false management.health.elasticsearch.enabled=false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment