Skip to content

#13 hotfix to resolve SN for automation#14

Open
hailiang-wang wants to merge 3 commits into
Houfeng:masterfrom
hailiang-wang:master
Open

#13 hotfix to resolve SN for automation#14
hailiang-wang wants to merge 3 commits into
Houfeng:masterfrom
hailiang-wang:master

Conversation

@hailiang-wang

@hailiang-wang hailiang-wang commented Dec 8, 2017

Copy link
Copy Markdown
  • 在trigger API中返回 sn, 从 store查询下一个SN.
  • 支持console API 返回JSON类型数据

@hailiang-wang

Copy link
Copy Markdown
Author

Travis 的错误,并不是这个PR导致的。

image

@Houfeng

Houfeng commented Dec 11, 2017

Copy link
Copy Markdown
Owner

辛苦了,稍晚一些处理呀

Comment thread web/controllers/api.js
this.params = _.assign(this.params, this.context.request.body);
} else {
this.params = {};
}

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Houfeng 之前的修改没有考虑到_query, query, body会覆盖的情况,导致传入了 query就没有写body到params, 现在对三个参数进行merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants