应用集成平台服务端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
681 B

package mathsrouter
import (
"appPlatform/api/version1"
"github.com/gin-gonic/gin"
)
// 数学公式接口路由
func (a *ApiRouter) RouterGroup(router *gin.RouterGroup) {
apiRouter := router.Group("maths")
var mathsClassRouter = version1.AppApiEntry.MathsApi
{
apiRouter.GET("", mathsClassRouter.Index) //入口
apiRouter.POST("", mathsClassRouter.Index) //入口
apiRouter.POST("am_formulas", mathsClassRouter.AnalyticalMathematicalFormulas) //解析数学公式
apiRouter.POST("mathematicalCalculations", mathsClassRouter.MathematicalCalculations) //数学计算
}
}