373675032 / moti-cloud

莫提网盘(moti-cloud)是一个基于 SpringBoot 开发的标准 Java Web 项目。存储模式支持 FTP、阿里云 OSS 对象存储。项目选题新颖,完成度较高,前后端不分离的单体架构,非常适合刚刚接触学习 SpringBoot 的技术小白学习,也非常适合学校中的项目答辩或者毕业设计。喜欢的话记得帮忙点亮 Star,不求打赏,免费分享,只求你一个免费的👍,你的支持是我做下去的动力。
http://xuewei.world
GNU General Public License v3.0
569 stars 127 forks source link

如果去掉QQ登录应该改动哪些呢? #4

Closed Eleven-is-cool closed 4 years ago

Eleven-is-cool commented 4 years ago

QQ那个互联平台后面创建应用的认证要好久,还得等域名备案完成,请问一下如果不想用QQ登录应该改动哪些呢?

waiting-windy commented 4 years ago

你可以看源码,登录的controller,内置了一个调试用的借口"/admin"",别忘了在拦截器放开"/admin"接口

Eleven-is-cool commented 4 years ago

你可以看源码,登录的controller,内置了一个调试用的借口"/admin"",别忘了在拦截器放开"/admin"接口

好的,十分感谢!

waiting-windy commented 4 years ago

请问您使用该项目做些什么呢

------------------ 原始邮件 ------------------ 发件人: "Eleven-is-cool"<notifications@github.com>; 发送时间: 2020年4月20日(星期一) 晚上6:40 收件人: "373675032/moti-cloud"<moti-cloud@noreply.github.com>; 抄送: "小泽"<964879015@qq.com>; "Comment"<comment@noreply.github.com>; 主题: Re: [373675032/moti-cloud] 如果去掉QQ登录应该改动哪些呢? (#4)

你可以看源码,登录的controller,内置了一个调试用的借口"/admin"",别忘了在拦截器放开"/admin"接口

好的,十分感谢!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Eleven-is-cool commented 4 years ago

噢噢,我只是单纯来学习springboot而已。没那个qq登录往下弄不了。

Eleven-is-cool commented 4 years ago

请问您使用该项目做些什么呢 ------------------ 原始邮件 ------------------ 发件人: "Eleven-is-cool"<notifications@github.com>; 发送时间: 2020年4月20日(星期一) 晚上6:40 收件人: "373675032/moti-cloud"<moti-cloud@noreply.github.com>; 抄送: "小泽"<964879015@qq.com>; "Comment"<comment@noreply.github.com>; 主题: Re: [373675032/moti-cloud] 如果去掉QQ登录应该改动哪些呢? (#4) 你可以看源码,登录的controller,内置了一个调试用的借口"/admin"",别忘了在拦截器放开"/admin"接口 好的,十分感谢! — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

你好,是访问http://127.0.0.1:8080/moti-cloud/admin吗?然后加入拦截器时, registry.addInterceptor(new LoginHandlerInterceptor()).addPathPatterns("/**").excludePathPatterns("/","/admin".....); 这样吗?可是我仍会被重定向到登录页。

waiting-windy commented 4 years ago

你把moti啥的去掉啊,那东西哪来的?

---原始邮件--- 发件人: "Eleven-is-cool"<notifications@github.com> 发送时间: 2020年4月21日 22:21:53 收件人: "373675032/moti-cloud"<moti-cloud@noreply.github.com>; 抄送: "nanfeng"<964879015@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [373675032/moti-cloud] 如果去掉QQ登录应该改动哪些呢? (#4)

请问您使用该项目做些什么呢 … ------------------ 原始邮件 ------------------ 发件人: "Eleven-is-cool"<notifications@github.com>; 发送时间: 2020年4月20日(星期一) 晚上6:40 收件人: "373675032/moti-cloud"<moti-cloud@noreply.github.com>; 抄送: "小泽"<964879015@qq.com>; "Comment"<comment@noreply.github.com>; 主题: Re: [373675032/moti-cloud] 如果去掉QQ登录应该改动哪些呢? (#4) 你可以看源码,登录的controller,内置了一个调试用的借口"/admin"",别忘了在拦截器放开"/admin"接口 好的,十分感谢! — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

你好,是访问http://127.0.0.1:8080/moti-cloud/admin吗?然后加入拦截器时, registry.addInterceptor(new LoginHandlerInterceptor()).addPathPatterns("/**").excludePathPatterns("/","/admin".....); 这样吗?可是我仍会被重定向到登录页。

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Eleven-is-cool commented 4 years ago

你把moti啥的去掉啊,那东西哪来的? ---原始邮件--- 发件人: "Eleven-is-cool"<notifications@github.com> 发送时间: 2020年4月21日 22:21:53 收件人: "373675032/moti-cloud"<moti-cloud@noreply.github.com>; 抄送: "nanfeng"<964879015@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [373675032/moti-cloud] 如果去掉QQ登录应该改动哪些呢? (#4) 请问您使用该项目做些什么呢 … ------------------ 原始邮件 ------------------ 发件人: "Eleven-is-cool"<notifications@github.com>; 发送时间: 2020年4月20日(星期一) 晚上6:40 收件人: "373675032/moti-cloud"<moti-cloud@noreply.github.com>; 抄送: "小泽"<964879015@qq.com>; "Comment"<comment@noreply.github.com>; 主题: Re: [373675032/moti-cloud] 如果去掉QQ登录应该改动哪些呢? (#4) 你可以看源码,登录的controller,内置了一个调试用的借口"/admin"",别忘了在拦截器放开"/admin"接口 好的,十分感谢! — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. 你好,是访问http://127.0.0.1:8080/moti-cloud/admin吗?然后加入拦截器时, registry.addInterceptor(new LoginHandlerInterceptor()).addPathPatterns("/**").excludePathPatterns("/","/admin".....); 这样吗?可是我仍会被重定向到登录页。 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

http://127.0.0.1:8080/admin这样是404诶

waiting-windy commented 4 years ago

你用的是我的代码吗?不会是用的原作者的吧

---原始邮件--- 发件人: "Eleven-is-cool"<notifications@github.com> 发送时间: 2020年4月21日 22:25:40 收件人: "373675032/moti-cloud"<moti-cloud@noreply.github.com>; 抄送: "nanfeng"<964879015@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [373675032/moti-cloud] 如果去掉QQ登录应该改动哪些呢? (#4)

你把moti啥的去掉啊,那东西哪来的? … ---原始邮件--- 发件人: "Eleven-is-cool"<notifications@github.com> 发送时间: 2020年4月21日 22:21:53 收件人: "373675032/moti-cloud"<moti-cloud@noreply.github.com>; 抄送: "nanfeng"<964879015@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [373675032/moti-cloud] 如果去掉QQ登录应该改动哪些呢? (#4) 请问您使用该项目做些什么呢 … ------------------ 原始邮件 ------------------ 发件人: "Eleven-is-cool"<notifications@github.com>; 发送时间: 2020年4月20日(星期一) 晚上6:40 收件人: "373675032/moti-cloud"<moti-cloud@noreply.github.com>; 抄送: "小泽"<964879015@qq.com>; "Comment"<comment@noreply.github.com>; 主题: Re: [373675032/moti-cloud] 如果去掉QQ登录应该改动哪些呢? (#4) 你可以看源码,登录的controller,内置了一个调试用的借口"/admin"",别忘了在拦截器放开"/admin"接口 好的,十分感谢! — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. 你好,是访问http://127.0.0.1:8080/moti-cloud/admin吗?然后加入拦截器时, registry.addInterceptor(new LoginHandlerInterceptor()).addPathPatterns("/**").excludePathPatterns("/","/admin".....); 这样吗?可是我仍会被重定向到登录页。 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

http://127.0.0.1:8080/admin这样是404诶

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Eleven-is-cool commented 4 years ago

你用的是我的代码吗?不会是用的原作者的吧 ---原始邮件--- 发件人: "Eleven-is-cool"<notifications@github.com> 发送时间: 2020年4月21日 22:25:40 收件人: "373675032/moti-cloud"<moti-cloud@noreply.github.com>; 抄送: "nanfeng"<964879015@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [373675032/moti-cloud] 如果去掉QQ登录应该改动哪些呢? (#4) 你把moti啥的去掉啊,那东西哪来的? … ---原始邮件--- 发件人: "Eleven-is-cool"<notifications@github.com> 发送时间: 2020年4月21日 22:21:53 收件人: "373675032/moti-cloud"<moti-cloud@noreply.github.com>; 抄送: "nanfeng"<964879015@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [373675032/moti-cloud] 如果去掉QQ登录应该改动哪些呢? (#4) 请问您使用该项目做些什么呢 … ------------------ 原始邮件 ------------------ 发件人: "Eleven-is-cool"<notifications@github.com>; 发送时间: 2020年4月20日(星期一) 晚上6:40 收件人: "373675032/moti-cloud"<moti-cloud@noreply.github.com>; 抄送: "小泽"<964879015@qq.com>; "Comment"<comment@noreply.github.com>; 主题: Re: [373675032/moti-cloud] 如果去掉QQ登录应该改动哪些呢? (#4) 你可以看源码,登录的controller,内置了一个调试用的借口"/admin"",别忘了在拦截器放开"/admin"接口 好的,十分感谢! — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. 你好,是访问http://127.0.0.1:8080/moti-cloud/admin吗?然后加入拦截器时, registry.addInterceptor(new LoginHandlerInterceptor()).addPathPatterns("/**").excludePathPatterns("/","/admin".....); 这样吗?可是我仍会被重定向到登录页。 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. http://127.0.0.1:8080/admin这样是404诶 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

啊哈,我以为你就是原作者呀,才发现不是,我是在这里提的issue。

waiting-windy commented 4 years ago

额,如果是原作者的那个的话,你就是moti-cloud/admin,然后在数据库里加一个用户id=1,filestore=1,那些数据都可以加。就可以登录了,我是对原作者的二次开发,欢迎学习我的http://lizeyu.club

---原始邮件--- 发件人: "Eleven-is-cool"<notifications@github.com> 发送时间: 2020年4月21日 22:31:23 收件人: "373675032/moti-cloud"<moti-cloud@noreply.github.com>; 抄送: "nanfeng"<964879015@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [373675032/moti-cloud] 如果去掉QQ登录应该改动哪些呢? (#4)

你用的是我的代码吗?不会是用的原作者的吧 … ---原始邮件--- 发件人: "Eleven-is-cool"<notifications@github.com> 发送时间: 2020年4月21日 22:25:40 收件人: "373675032/moti-cloud"<moti-cloud@noreply.github.com>; 抄送: "nanfeng"<964879015@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [373675032/moti-cloud] 如果去掉QQ登录应该改动哪些呢? (#4) 你把moti啥的去掉啊,那东西哪来的? … ---原始邮件--- 发件人: "Eleven-is-cool"<notifications@github.com> 发送时间: 2020年4月21日 22:21:53 收件人: "373675032/moti-cloud"<moti-cloud@noreply.github.com>; 抄送: "nanfeng"<964879015@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [373675032/moti-cloud] 如果去掉QQ登录应该改动哪些呢? (#4) 请问您使用该项目做些什么呢 … ------------------ 原始邮件 ------------------ 发件人: "Eleven-is-cool"<notifications@github.com>; 发送时间: 2020年4月20日(星期一) 晚上6:40 收件人: "373675032/moti-cloud"<moti-cloud@noreply.github.com>; 抄送: "小泽"<964879015@qq.com>; "Comment"<comment@noreply.github.com>; 主题: Re: [373675032/moti-cloud] 如果去掉QQ登录应该改动哪些呢? (#4) 你可以看源码,登录的controller,内置了一个调试用的借口"/admin"",别忘了在拦截器放开"/admin"接口 好的,十分感谢! — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. 你好,是访问http://127.0.0.1:8080/moti-cloud/admin吗?然后加入拦截器时, registry.addInterceptor(new LoginHandlerInterceptor()).addPathPatterns("/**").excludePathPatterns("/","/admin".....); 这样吗?可是我仍会被重定向到登录页。 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. http://127.0.0.1:8080/admin这样是404诶 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

啊哈,我以为你就是原作者呀,才发现不是,我是在这里提的issue。

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Eleven-is-cool commented 4 years ago

额,如果是原作者的那个的话,你就是moti-cloud/admin,然后在数据库里加一个用户id=1,filestore=1,那些数据都可以加。就可以登录了,我是对原作者的二次开发,欢迎学习我的http://lizeyu.club ---原始邮件--- 发件人: "Eleven-is-cool"<notifications@github.com> 发送时间: 2020年4月21日 22:31:23 收件人: "373675032/moti-cloud"<moti-cloud@noreply.github.com>; 抄送: "nanfeng"<964879015@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [373675032/moti-cloud] 如果去掉QQ登录应该改动哪些呢? (#4) 你用的是我的代码吗?不会是用的原作者的吧 … ---原始邮件--- 发件人: "Eleven-is-cool"<notifications@github.com> 发送时间: 2020年4月21日 22:25:40 收件人: "373675032/moti-cloud"<moti-cloud@noreply.github.com>; 抄送: "nanfeng"<964879015@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [373675032/moti-cloud] 如果去掉QQ登录应该改动哪些呢? (#4) 你把moti啥的去掉啊,那东西哪来的? … ---原始邮件--- 发件人: "Eleven-is-cool"<notifications@github.com> 发送时间: 2020年4月21日 22:21:53 收件人: "373675032/moti-cloud"<moti-cloud@noreply.github.com>; 抄送: "nanfeng"<964879015@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [373675032/moti-cloud] 如果去掉QQ登录应该改动哪些呢? (#4) 请问您使用该项目做些什么呢 … ------------------ 原始邮件 ------------------ 发件人: "Eleven-is-cool"<notifications@github.com>; 发送时间: 2020年4月20日(星期一) 晚上6:40 收件人: "373675032/moti-cloud"<moti-cloud@noreply.github.com>; 抄送: "小泽"<964879015@qq.com>; "Comment"<comment@noreply.github.com>; 主题: Re: [373675032/moti-cloud] 如果去掉QQ登录应该改动哪些呢? (#4) 你可以看源码,登录的controller,内置了一个调试用的借口"/admin"",别忘了在拦截器放开"/admin"接口 好的,十分感谢! — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. 你好,是访问http://127.0.0.1:8080/moti-cloud/admin吗?然后加入拦截器时, registry.addInterceptor(new LoginHandlerInterceptor()).addPathPatterns("/**").excludePathPatterns("/","/admin".....); 这样吗?可是我仍会被重定向到登录页。 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. http://127.0.0.1:8080/admin这样是404诶 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. 啊哈,我以为你就是原作者呀,才发现不是,我是在这里提的issue。 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

多谢,可以了。已经star。