不需要token的API添加可选参数token(以便转入时能输出token信息)

This commit is contained in:
gazebo
2019-11-28 10:32:54 +08:00
parent 412fe44d32
commit 4ca1f56cb6
5 changed files with 7 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ type CmsController struct {
// @Title 得到地点(省,城市,区)信息
// @Description 得到地点(省,城市,区)信息。
// @Param token header string false "认证token"
// @Param keyword query string false "查询关键字(可以为空,为空表示不限制)"
// @Param parentCode query int false "上级地点code这个指的是国家标准CODE中国为100000北京为110000北京市为110100不是数据库中的ID"
// @Param level query int false "地点级别省为1市为2区为3注意直辖市也要分省与市级"