Commit 2b79841b authored by wangp's avatar wangp

注释 runCommand

parent f36c0ee7
......@@ -21,7 +21,7 @@ type PayController struct {
// @Param body body models.PlaceAnOrderParamInput true "参数"
// @Param language header string ture "语言类型 zh-CN简体中文 en-US英文 ja 日文 默认中文"
// @Success 200
// @router /api/v1/index/unified_order [post]
// @router /api/v1/pay/unified_order [post]
func (l *PayController) UnifiedOrder(c *gin.Context) {
ph := new(models.PlaceAnOrderParamInput)
......
......@@ -23,7 +23,7 @@ var doc = `{
"host": "{{.Host}}",
"basePath": "{{.BasePath}}",
"paths": {
"/api/v1/index/unified_order": {
"/api/v1/pay/unified_order": {
"post": {
"description": "拉卡拉统一支付",
"consumes": [
......
......@@ -7,7 +7,7 @@
"version": "1.0"
},
"paths": {
"/api/v1/index/unified_order": {
"/api/v1/pay/unified_order": {
"post": {
"description": "拉卡拉统一支付",
"consumes": [
......
......@@ -50,7 +50,7 @@ info:
title: 谛宝多多平台
version: "1.0"
paths:
/api/v1/index/unified_order:
/api/v1/pay/unified_order:
post:
consumes:
- application/json
......
......@@ -38,7 +38,7 @@ func main() {
if gin.Mode() == gin.TestMode || gin.Mode() == gin.DebugMode {
//自动更新swagger
runCommand()
//runCommand()
}
......
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