
- 解决Controller文件编码问题导致的乱码 - 修复接口名大小写问题:IMyCourseV1 -> IMycourseV1 - 确保Controller正确实现生成的接口 - 修复返回HTML而非JSON的根本问题
16 lines
402 B
Go
16 lines
402 B
Go
// =================================================================================
|
|
// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
|
|
// =================================================================================
|
|
|
|
package mycourse
|
|
|
|
import (
|
|
"hotgo/api/api/mycourse"
|
|
)
|
|
|
|
type ControllerV1 struct{}
|
|
|
|
func NewV1() mycourse.IMycourseV1 {
|
|
return &ControllerV1{}
|
|
}
|