Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feat(generic-call-example): open payment platform #12

Merged
merged 24 commits into from
Dec 9, 2022

Conversation

baiyutang
Copy link
Member

@baiyutang baiyutang commented Nov 25, 2022

What type of PR is this?

feat

What this PR does / why we need it (en: English/zh: Chinese):

en: open payment platform example using generic call
zh: 使用泛化调用的支付开放平台示例

Which issue(s) this PR fixes:

Description

整体思路是 hertz 做网关分发请求,根据 query 路径判断服务,post.method 字段判断需要请求的服务接口,最后把对应接口的 biz_params 一下子给过去。

@CLAassistant
Copy link

CLAassistant commented Nov 25, 2022

CLA assistant check
All committers have signed the CLA.

@baiyutang baiyutang changed the title WIP:feat(generic-call-example): open payment platform feat(generic-call-example): open payment platform Nov 30, 2022
@GuangmingLuo
Copy link
Member

Please try to fix the CI. E.g. Copyright Header should be added for necessary files.

@baiyutang
Copy link
Member Author

Please try to fix the CI. E.g. Copyright Header should be added for necessary files.

Copyright will be added this tonight

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Copy link
Member

@CoderPoet CoderPoet left a comment

Choose a reason for hiding this comment

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

/LGTM

@GuangmingLuo
Copy link
Member

@baiyutang 可以给所有的公共函数加一下注释吗?生成的代码除外

@GuangmingLuo GuangmingLuo merged commit 8452cfb into cloudwego:main Dec 9, 2022
@baiyutang baiyutang deleted the feat/generic-call branch December 9, 2022 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants