1.使用url传参
// @Param planid path string true "plan id"
// @Produce json
// @Success 200 {string} Helloworld
// @Router /operation/plan/{planid} [get]
2.使用body传参
//@Param planresult body InformData true "planresult"
// @Produce json
// @Success 200 {string} Helloworld
// @Router /inform/planresult [post]
网友评论