parent
15adca0558
commit
d24de4a93d
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
||||
https://www.springframework.org/schema/beans/spring-beans.xsd">
|
||||
|
||||
<!-- 配置Flowers实体类的Bean -->
|
||||
<bean id="flowers" class="com.ssm.entity.flowers">
|
||||
<property name="flowerId" value="1001"/>
|
||||
<property name="flowerName" value="康乃馨"/>
|
||||
<property name="price" value="19.9"/>
|
||||
<property name="stock" value="520"/>
|
||||
<property name="description" value="康乃馨,象征母爱,温馨,祝福与尊敬"/>
|
||||
</bean>
|
||||
<bean id="carousel" class="com.ssm.ioc.Carousel">
|
||||
<property name="id" value="1"/>
|
||||
<property name="title" value="春日花束"/>
|
||||
<property name="imgUrl" value="/images/spring.jpg"/>
|
||||
<property name="linkUrl" value="/flower/spring"/>
|
||||
<property name="sort" value="1"/>
|
||||
</bean>
|
||||
|
||||
</beans>
|
||||
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue