Commit 9d1dd71f by wkliang

Merge branch 'center-order' of gitlab.gongsibao.com:jiangyong/zhichan into center-order

parents 424e767e 77586ce0
...@@ -43,8 +43,8 @@ class NeedinfoService extends ServiceBase { ...@@ -43,8 +43,8 @@ class NeedinfoService extends ServiceBase {
channelTypeName: actionBody.channel_type_name, channelTypeName: actionBody.channel_type_name,
status: "wts" status: "wts"
} }
await this.dao.create(nobj); var r = await this.dao.create(nobj);
return system.getResultSuccess(); return system.getResultSuccess(r);
} }
async opNeedList(pobj, actionBody, req) { async opNeedList(pobj, actionBody, req) {
...@@ -53,7 +53,7 @@ class NeedinfoService extends ServiceBase { ...@@ -53,7 +53,7 @@ class NeedinfoService extends ServiceBase {
console.log(pobj.actionBody); console.log(pobj.actionBody);
var sobj = { var sobj = {
search: { search: {
channelUserId: pobj.userInfo.channel_userid channelUserId: pobj.userInfo.channel_userid
}, },
pageInfo: { pageInfo: {
pageNo: Number(actionBody.pageNumber) || 1, pageNo: Number(actionBody.pageNumber) || 1,
......
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