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

代码调试

parent 3b9edc2f
......@@ -133,9 +133,9 @@ public class TemplateResource {
* @return TemplateModel
*/
@TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false)
@CrossOrigin
@ApiOperation(httpMethod = "POST", value = "根据sequenceNbr导入content", notes = "根据sequenceNbr导入content")
@PostMapping(value = "/import")
@CrossOrigin(methods = RequestMethod.POST)
public ResponseModel<TemplateModel> importTpl(@RequestParam("file") MultipartFile multipartFile) throws IOException {
return ResponseHelper.buildResponse(templateService.createWithModel(templateService.fileToTpl(multipartFile)));
}
......
spring.application.name=AMOS-ATL
server.servlet.context-path=/atl
server.port=30201
#server.servlet.context-path=/atl
server.servlet.context-path=/jcs
#server.port=30201
server.port=20000
spring.profiles.active=dev
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