Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: support query __datahub_scene to select custom scene #142

Merged
merged 2 commits into from
Jun 11, 2019

Conversation

fengmk2
Copy link
Contributor

@fengmk2 fengmk2 commented Jun 10, 2019

No description provided.

});
let res;
// try to use custom scene by default
if (ctx.query.__datahub_scene) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

需要根据请求参数来选择场景,而不是每次都得取切换场景。

Copy link
Member

Choose a reason for hiding this comment

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

可以先开这个功能用

@codecov
Copy link

codecov bot commented Jun 10, 2019

Codecov Report

Merging #142 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #142      +/-   ##
==========================================
+ Coverage   93.24%   93.27%   +0.02%     
==========================================
  Files          40       40              
  Lines         874      877       +3     
==========================================
+ Hits          815      818       +3     
  Misses         59       59
Impacted Files Coverage Δ
app/controller/data.js 75.47% <100%> (+1.47%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7c96866...e59c542. Read the comment docs.

@xudafeng xudafeng self-requested a review June 11, 2019 02:13
@xudafeng xudafeng self-assigned this Jun 11, 2019
@xudafeng xudafeng merged commit 9d83251 into macacajs:master Jun 11, 2019
@xudafeng
Copy link
Member

a96441f

@fengmk2 fengmk2 deleted the support-custom-scene branch June 11, 2019 04:14
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants