添加后台连接用的后端
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { Service } from 'egg';
|
||||
|
||||
/**
|
||||
* Test Service
|
||||
*/
|
||||
export default class Test extends Service {
|
||||
|
||||
/**
|
||||
* sayHi to you
|
||||
* @param name - your name
|
||||
*/
|
||||
public async sayHi(name: string) {
|
||||
return `hi, ${name}`;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user