mirror of
https://gitee.com/dromara/electron-egg.git
synced 2026-05-24 07:48:09 +08:00
socket
This commit is contained in:
@@ -35,15 +35,6 @@ class ExampleController extends BaseController {
|
||||
this.sendSuccess(data);
|
||||
}
|
||||
|
||||
async executeJS() {
|
||||
const self = this;
|
||||
const { ctx, service } = this;
|
||||
const body = ctx.request.body;
|
||||
const str = body.str;
|
||||
let data = await service.example.executeJS(str);
|
||||
self.sendSuccess(data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 上传文件
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user