(path string)
| 241 | } |
| 242 | |
| 243 | func (this *BaseController) completeLink(path string) string { |
| 244 | if path == "" { |
| 245 | return "" |
| 246 | } |
| 247 | return utils.JoinURL(models.GetAPIStaticDomain(), strings.ReplaceAll(path, "\\", "/")) |
| 248 | } |
| 249 | |
| 250 | // 根据标识查询书籍id,标识可以是数字也可以是字符串 |
| 251 | func (this *BaseController) getBookIdByIdentify(identify string) (bookId int) { |
no test coverage detected