You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
324 B
Go

package router
import (
"github.com/gin-gonic/gin"
"insure/api/suixing"
)
func suixingRouteInit(r *gin.Engine) {
sxGroup := r.Group("/suixing")
sxGroup.Match([]string{"POST", "OPTIONS"}, "/gurantee/create", suixing.Create)
sxGroup.Match([]string{"POST", "OPTIONS"}, "/upload-signed-file", suixing.UploadSignedFile)
}