关于model配置问题
#753
Replies: 5 comments
-
你是指 |
Beta Was this translation helpful? Give feedback.
0 replies
-
是的,写错了
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2022年4月25日(星期一) 下午2:21
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [tangcent/easy-yapi] 关于model配置问题 (Discussion #753)
***@***.***?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
这里的 |
Beta Was this translation helpful? Give feedback.
0 replies
-
您好 tangcent:
现在随着微服务的到来,以前所在业务都在一个项目中完成,随着微务到来会把不同业务进行拆分导致多模块化,目前通过easyYapi成出时一级目录都是发各个模块名做目录名称。以下两张图片就是我工作中的情况。
希望在配置文件中能支持自定义项目名称。达到图二的效果。
图一
图二
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2022年4月25日(星期一) 下午2:50
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [tangcent/easy-yapi] 关于model配置问题 (Discussion #753)
这里的module概念上和maven里的module是一致的。
一般来说没必要配置module, 默认会使用当前模块名。
只有当你的一个模块中包含多个不同业务的API且你希望导入到不同的yapi项目中时,才需要配置module。
你现在的情况是什么样的?
http://easyyapi.com/setting/rules/module.html
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
hello, 图片似乎没有上传成功 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
model在每个项目下的配置文件写一个就行,不需要每个类中写上@model
Beta Was this translation helpful? Give feedback.
All reactions