Commit 9595b8d5 authored by maggie's avatar maggie

fixed

parent ea005576
......@@ -16,7 +16,7 @@ export default class {{ name | capitalize }}Service {
}
{% for fn, fn_item in fns -%}
async {{ fn }}({%- for param in fn.params -%}{{param.value}}{%- endfor -%}) {
async {{ fn }}({%- for param in fn_item -%}param{{loop.index}}{% if loop.last %}{% else %},{% endif %}{%- endfor -%}) {
const { openId, data } = this.context
return {}
......
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