Commit 47d8c756 by 兰国旗

add field code

parent 52566999
......@@ -7,8 +7,8 @@ class ImginfoService extends ServiceBase {
}
async create(pobj){
// var code = await this.getBusUid("img");
// pobj.code = code;
var code = await this.getBusUid("img");
pobj.code = code;
return this.dao.create(pobj);
}
}
......
......@@ -7,8 +7,8 @@ class MaininfoService extends ServiceBase {
}
async create(pobj){
// var code = await this.getBusUid("img");
// pobj.code = code;
var code = await this.getBusUid("main");
pobj.code = code;
return this.dao.create(pobj);
}
}
......
......@@ -7,8 +7,8 @@ class PuttypeService extends ServiceBase {
}
async create(pobj){
// var code = await this.getBusUid("img");
// pobj.code = code;
var code = await this.getBusUid("put");
pobj.code = code;
return this.dao.create(pobj);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment