sunweiguo / MMall

:loudspeaker:快乐蜗牛商城springcloud版本。本项目是对慕课网电商项目进行后端架构升级,主要是采用springcloud技术栈来进行服务拆分和治理,提高系统的并发能力。含有完整的前端页面,从用户选择商品-加入购物车-生成订单-支付宝扫码支付-后台管理系统。大体实现所有功能。除了springcloud技术栈,还涉及分布式锁、MQ异步下单、redis预减库存等内容
403 stars 158 forks source link

请问 静态资源在哪 我没找到 #1

Open Lushuaiyu opened 5 years ago

sunweiguo commented 5 years ago

https://github.com/sunweiguo/snailmall-front readme的最后

Lushuaiyu commented 5 years ago

好的 谢谢。我看到了。我研究下前端框架

「fossi notifications@github.com」在 2019年3月28日 週四,22:07 寫道:

https://github.com/sunweiguo/snailmall-front readme的最后

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sunweiguo/MMall/issues/1#issuecomment-477610076, or mute the thread https://github.com/notifications/unsubscribe-auth/AlTc5k7Dq0R_gYiBNj2sr0eXsg6gfid9ks5vbMytgaJpZM4cNKWx .

ke00ke commented 5 years ago

最近在学习你的项目,请问你有没遇到token问题,就是cookie只能获取到jsessionid不能获取到自定义的token。虽然作为入门者,还是推荐使用pom中设置环境profiles参数,在yml中使用active: ‘@spring.profiles.active@’方式进行环境切换,也方便打包。

ke00ke commented 5 years ago

pom中:

src/main/java **/*.xml src/main/resources **/*.* true org.springframework.boot spring-boot-maven-plugin
<properties>
    <resource.delimiter>@</resource.delimiter>
</properties>

<profiles>
    <profile>
        <id>dev</id>
        <properties>
            <spring.profiles.active>dev</spring.profiles.active>
        </properties>
    </profile>
    <profile>
        <id>test</id>
        <properties>
            <spring.profiles.active>test</spring.profiles.active>
        </properties>
    </profile>
</profiles>

yml中: spring: profiles: active: '@spring.profiles.active@'

eureka: client: service-url: defaultZone: http://192.168.1.104:8084/eureka

Lushuaiyu commented 5 years ago

没有遇到哎

「ke00ke notifications@github.com」在 2019年4月27日 週六,上午1:58 寫道:

pom中:

src/main/java

*/.xml

src/main/resources

            <include>**/*.*</include>

        </includes>

        <filtering>true</filtering>

    </resource>

</resources>

<plugins>

    <plugin>

        <groupId>org.springframework.boot</groupId>

        <artifactId>spring-boot-maven-plugin</artifactId>

    </plugin>

</plugins>

@ dev dev test test

yml中: spring: profiles: active: '@spring.profiles.active@'

eureka: client: service-url: defaultZone: http://192.168.1.104:8084/eureka

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sunweiguo/MMall/issues/1#issuecomment-487146589, or mute the thread https://github.com/notifications/unsubscribe-auth/AJKNZZWTYZRKE75E6VZ2PXDPSM7DHANCNFSM4HBUUWYQ .