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
397 B
24 lines
397 B
9 months ago
|
'use strict';
|
||
|
const Service = require('egg').Service;
|
||
|
const _ = require("lodash");
|
||
|
|
||
|
class HubMotorService extends Service {
|
||
|
//初始化轮毂电机
|
||
|
async init(params) {
|
||
|
let { ctx, app } = this;
|
||
|
return {
|
||
|
a444: 55
|
||
|
}
|
||
|
}
|
||
|
//保存轮毂电机数据
|
||
|
async save(params) {
|
||
|
let { ctx, app } = this;
|
||
|
return {
|
||
|
a444: 53
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
module.exports = HubMotorService;
|