You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
318 B

/*
* @desc:demo
*
*
* @Date: 2022/3/2 15:24
*/
package controller
import (
"context"
"tyj_admin/api/v1/demo"
)
var Demo = cDemo{}
type cDemo struct {
}
func (c *cDemo) Demo(ctx context.Context, req *demo.DmReq) (res *demo.DmRes, err error) {
res = &demo.DmRes{Name: "赵四"}
panic("demo wrong")
return
}