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.
15 lines
505 B
Go
15 lines
505 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", "GET", "OPTIONS"}, "/gurantee/create", suixing.Create)
|
|
sxGroup.Match([]string{"POST", "GET", "OPTIONS"}, "/gurantee/surrend", suixing.Surrend)
|
|
sxGroup.Match([]string{"POST", "GET", "OPTIONS"}, "/gurantee/claim", suixing.Claim)
|
|
sxGroup.Match([]string{"POST", "OPTIONS"}, "/upload-signed-file", suixing.UploadSignedFile)
|
|
}
|