Commit 1553e7a0 authored by qinhaitao's avatar qinhaitao

fix: 🐛 error

parent 8c8a77ad
...@@ -269,20 +269,6 @@ ...@@ -269,20 +269,6 @@
] ]
} }
}, },
"share": {
"getShareInfo": {
"desc": "获取邀请信息",
"decorators":[
{
"type": "common",
"name": "checkParams",
"params": [
"activityId"
]
}
]
}
},
"login": { "login": {
"login":{ "login":{
"desc":"登录接口, 初始化/更新用户信息", "desc":"登录接口, 初始化/更新用户信息",
......
...@@ -10,7 +10,7 @@ import { {%for service, service_item in type_item %}{{type|capitalize}}{{service ...@@ -10,7 +10,7 @@ import { {%for service, service_item in type_item %}{{type|capitalize}}{{service
{%- for decorator in decorators %} {%- for decorator in decorators %}
@{{ decorator.type }}Decorator.{{ decorator.name }} @{{ decorator.type }}Decorator.{{ decorator.name }}
{%- if decorator.name == 'preCheck' or decorator.name == 'preUpdate' -%} {%- if decorator.name == 'preCheck' or decorator.name == 'preUpdate' -%}
([{%- for param in decorator.params -%}{{param.type}}Util{{param.behave | capitalize}}.{{param.name}}{%- if loop.last %}{% else %}, {% endif %}{%- endfor -%})] ([{%- for param in decorator.params -%}{{param.type}}Util{{param.behave | capitalize}}.{{param.name}}{%- if loop.last %}{% else %}, {% endif %}{%- endfor -%}])
{%- elif decorator.name == 'noCatch' or decorator.name == 'noCheckUser' -%} {%- elif decorator.name == 'noCatch' or decorator.name == 'noCheckUser' -%}
{%- else -%} {%- else -%}
([{%- for param in decorator.params -%}'{{ param }}'{%- if loop.last %}{% else %}, {% endif %}{%- endfor -%}]) ([{%- for param in decorator.params -%}'{{ param }}'{%- if loop.last %}{% else %}, {% endif %}{%- endfor -%}])
......
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