Commit 9d47de6b authored by liwei's avatar liwei

增加了一个管理端判断上传类型的接口

parent 94565ae4
......@@ -183,4 +183,15 @@ public class OpmArticleController extends CyPaginationController<OpmArticle> {
CyMessCons.MESSAGE_ALERT_ERROR,
dto);
}
@CyOpeLogAnno(title = "system-获取上传类型-获取上传类型", businessType = CyLogTypeEnum.QUERY)
@Operation(summary="获取上传类型", description="获取上传类型")
@Parameters({@Parameter(name = "businessId", description = "businessId", required = true)})
@GetMapping("/getUploadType")
public CyResult getUploadType() {
return CyResultGenUtil.builder(new CyPersistModel(1),
CyMessCons.MESSAGE_ALERT_SUCCESS,
CyMessCons.MESSAGE_ALERT_ERROR,
opmArticleServiceImpl.getUploadType("web"));
}
}
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