关于SSH架构的设想

关于SSH架构的设想

目前流行的轻量级J2EE应用的架构比较一致,采用的技术也比较一致,通常使用Spring作为核心,向上整合MVC框架(Struts),向下整合ORM框架(Hibernate)。使用SpringIoC容器来管理各组件之间的依赖关系,同时用Spring的声明事务负责业务逻辑层的事务管理。

Spring可以很容易的实现AOP,还可以大大降低各业务组件之间的耦合度,对于业务经常变动的应用,是个不错的选择。

Struts易于使用,懂的人很多,这样的程序员很容易找到,不需要花费培训成本。

Hibernate使用简单,虽然在面对大吞吐量和复杂查询时效里不是很好,但是可以灵活使用,不得以的情况下,通过直接使用JDBC 也可以大幅提高性能。

但在固定的技术组合上,各公司及开发团队有依然可能存在小的变化。下面讨论根据本人的经验及公司实际情况而采取的架构策略:Anemia Domain Model

所谓Anemia Domain Object是指Domain类只是单纯的数据类POJO(Plain Old Java Object),不包含业务逻辑方法,即每个Domain类只包含基本的settergetter方法。所有的业务逻辑都由业务逻辑组件(ServiceBean)实现,这种Domain Object就是所谓的贫血(anemia)的Domain Object,采用这种Domain Object的架构即所谓的贫血模式。

在贫血模式下,业务逻辑对象封装了全部的业务逻辑方法,Web层仅与业务逻辑组件交互即可,无须访问底层的DAO对象。其分层非常清晰。Domain Object 并不具备领域对象的业务逻辑功能,仅仅是ORM框架持久化所需的POJO,仅是数据载体。这种模型容易理解,开发便捷,但所有的Domain Object并不是完整的Java对象,仅仅是一种类似struct的数据结构。

贫血模式存在如下缺点:

一、项目需要书写大量的贫血类,当然也可以借助某些工具(Hibernate有)自动生成。

二、 Domain Object的业务逻辑得不到体现。由于业务逻辑对象的复杂度大大增加,许多不应该由业务逻辑对象实现的业务逻辑方法,完全由业务逻辑对象实现,从而使业务逻辑对象的实现类变得相当臃肿。

三、很多直接、简单的CRUD(添删改查)操作需要经过业务逻辑层从DAO对象穿透到WEB层,代码虽然不多,但显得很繁琐、会降低性能及程序员生产率。

优点是:开发简单、分层清晰、架构明晰且不易混淆;所有的依赖都是单向依赖,解耦优秀。适合于整体水平不高的开发团队。

下面指出几个要特别注意的地方:

1、 DAO对象不应当出现在WEB层;

2、 对业务层对象的访问在ActionBean中得到,但在ActionBean中只能放一个业务层对象,即一个ActionBean对应一个ServiceBean,不能访问多个;并且尽量只调用ServiceBean的一个方法来完成业务层操作;

3、 一个业务层对象可以调用多个DAO对象,需要在4中控制DAO对象的事务处理;业务层对象尽量不要调用其他业务层对象(AOP对象除外,如log4j对象或者其他应用中自已定义的AOP);

4、 事务处理在业务逻辑层中,使用了Spring针对Hibernate3给出的HibernateTransactionManager,它提供了Hibernate的本地事务管理策略

<group id="_x0000_s1026" style="WIDTH: 6in; HEIGHT: 319.8pt; mso-position-horizontal-relative: char; mso-position-vertical-relative: line" coordsize="8640,6396" coordorigin="1800,3079" editas="canvas"><lock aspectratio="t" v:ext="edit"></lock><shapetype id="_x0000_t75" coordsize="21600,21600" stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75"><stroke joinstyle="miter"></stroke><formulas><f eqn="if lineDrawn pixelLineWidth 0"></f><f eqn="sum @0 1 0"></f><f eqn="sum 0 0 @1"></f><f eqn="prod @2 1 2"></f><f eqn="prod @3 21600 pixelWidth"></f><f eqn="prod @3 21600 pixelHeight"></f><f eqn="sum @0 0 1"></f><f eqn="prod @6 1 2"></f><f eqn="prod @7 21600 pixelWidth"></f><f eqn="sum @8 21600 0"></f><f eqn="prod @7 21600 pixelHeight"></f><f eqn="sum @10 21600 0"></f></formulas><path o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"></path><lock aspectratio="t" v:ext="edit"></lock></shapetype><shape id="_x0000_s1027" style="LEFT: 1800px; WIDTH: 8640px; POSITION: absolute; TOP: 3079px; HEIGHT: 6396px" stroked="t" o:preferrelative="f" type="#_x0000_t75"><font size="3"><font face="Times New Roman"><fill o:detectmouseclick="t"></fill><stroke dashstyle="dash"></stroke><path o:connecttype="none" o:extrusionok="t"></path><lock v:ext="edit" text="t"></lock></font></font></shape><shapetype id="_x0000_t202" coordsize="21600,21600" path="m,l,21600r21600,l21600,xe" o:spt="202"><stroke joinstyle="miter"></stroke><path o:connecttype="rect" gradientshapeok="t"></path></shapetype><shape id="_x0000_s1028" style="LEFT: 2340px; WIDTH: 6120px; POSITION: absolute; TOP: 3391px; HEIGHT: 468px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1028"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" align="center"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">界面(</span><span lang="EN-US"><font face="Times New Roman">JSP</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">)</span></font></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1029" style="LEFT: 3720px; WIDTH: 3420px; POSITION: absolute; TOP: 4483px; HEIGHT: 468px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1029"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" align="center"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">控制器(</span><span lang="EN-US"><font face="Times New Roman">Struts</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">)</span></font></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1030" style="LEFT: 2820px; WIDTH: 1440px; POSITION: absolute; TOP: 5419px; HEIGHT: 624px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1030"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">业务逻辑</span><span lang="EN-US"><font face="Times New Roman">1</font></span></font></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1031" style="LEFT: 2820px; WIDTH: 900px; POSITION: absolute; TOP: 7291px; HEIGHT: 623px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1031"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><font face="Times New Roman" size="3">DAO1</font></span></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1032" style="LEFT: 4080px; WIDTH: 900px; POSITION: absolute; TOP: 7291px; HEIGHT: 623px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1032"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><font face="Times New Roman" size="3">DAO2</font></span></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1033" style="LEFT: 5340px; WIDTH: 901px; POSITION: absolute; TOP: 7291px; HEIGHT: 623px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1033"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><font face="Times New Roman" size="3">DAO3</font></span></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1034" style="LEFT: 6420px; WIDTH: 900px; POSITION: absolute; TOP: 7291px; HEIGHT: 623px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1034"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><font face="Times New Roman" size="3">DAO4</font></span></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1035" style="LEFT: 7500px; WIDTH: 900px; POSITION: absolute; TOP: 7291px; HEIGHT: 623px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1035"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><font face="Times New Roman" size="3">DAO5</font></span></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1036" style="LEFT: 4800px; WIDTH: 1441px; POSITION: absolute; TOP: 5419px; HEIGHT: 624px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1036"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">业务逻辑</span><span lang="EN-US"><font face="Times New Roman">2</font></span></font></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1037" style="LEFT: 6780px; WIDTH: 1441px; POSITION: absolute; TOP: 5419px; HEIGHT: 624px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1037"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">业务逻辑</span><span lang="EN-US"><font face="Times New Roman">3</font></span></font></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1038" style="LEFT: 2820px; WIDTH: 5580px; POSITION: absolute; TOP: 8539px; HEIGHT: 468px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1038"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" align="center"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">数据库</font></span></p> </div> </td> </tr></tbody></table></textbox></shape><line id="_x0000_s1039" style="POSITION: absolute" from="3180,7915" to="3181,8539"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1040" style="POSITION: absolute" from="4620,7915" to="4621,8539"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1041" style="POSITION: absolute" from="5700,7915" to="5701,8539"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1042" style="POSITION: absolute" from="6960,7915" to="6961,8539"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1043" style="POSITION: absolute" from="7860,7915" to="7861,8539"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1044" style="POSITION: absolute; flip: x" from="3180,6043" to="3540,7291"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1045" style="POSITION: absolute" from="3540,6043" to="5881,7291"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1046" style="POSITION: absolute; flip: x" from="4620,6043" to="5160,7291"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1047" style="POSITION: absolute" from="5160,6043" to="5881,7291"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1048" style="POSITION: absolute" from="7500,6043" to="7860,7291"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1049" style="POSITION: absolute" from="5160,6043" to="6960,7291"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1050" style="POSITION: absolute" from="5400,3859" to="5400,4483"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1051" style="POSITION: absolute; flip: y" from="5760,3859" to="5761,4483"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1052" style="POSITION: absolute; flip: x" from="3600,4951" to="4680,5419"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1053" style="POSITION: absolute" from="5400,4951" to="5401,5419"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1054" style="POSITION: absolute" from="6300,4951" to="7560,5419"><stroke endarrow="block"><font size="3"></font></stroke></line><shape id="_x0000_s1055" style="LEFT: 8250px; WIDTH: 1980px; POSITION: absolute; TOP: 4015px; HEIGHT: 468px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1055"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" align="center"><span lang="EN-US"><font face="Times New Roman" size="3">FormBean</font></span></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1056" style="LEFT: 8280px; WIDTH: 1980px; POSITION: absolute; TOP: 6355px; HEIGHT: 468px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1056"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" align="center"><span lang="EN-US"><font face="Times New Roman" size="3">DomainBean</font></span></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1057" style="LEFT: 8820px; WIDTH: 900px; POSITION: absolute; TOP: 5107px; HEIGHT: 468px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1057"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">转换</font></span></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1058" style="LEFT: 8820px; WIDTH: 900px; POSITION: absolute; TOP: 7291px; HEIGHT: 468px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1058"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">转换</font></span></p> </div> </td> </tr></tbody></table></textbox></shape><shape id="_x0000_s1059" style="LEFT: 8760px; WIDTH: 1260px; POSITION: absolute; TOP: 8383px; HEIGHT: 468px" type="#_x0000_t202"><textbox style="mso-next-textbox: #_x0000_s1059"><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" align="center"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">关系表</font></span></p> </div> </td> </tr></tbody></table></textbox></shape><line id="_x0000_s1060" style="POSITION: absolute" from="9180,4483" to="9181,5107"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1061" style="POSITION: absolute" from="9180,5575" to="9181,6355"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1062" style="POSITION: absolute" from="9180,6823" to="9180,7291"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1063" style="POSITION: absolute" from="9180,7759" to="9180,8383"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1064" style="POSITION: absolute; flip: y" from="9465,7759" to="9466,8383"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1065" style="POSITION: absolute; flip: y" from="9450,6823" to="9451,7291"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1066" style="POSITION: absolute; flip: y" from="9360,5575" to="9361,6355"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1067" style="POSITION: absolute; flip: y" from="9360,4483" to="9361,5107"><stroke endarrow="block"><font size="3"></font></stroke></line><line id="_x0000_s1068" style="POSITION: absolute" from="1980,5419" to="2520,5419"><font size="3"></font></line><line id="_x0000_s1069" style="POSITION: absolute" from="1980,7915" to="2520,7915"><font size="3"></font></line><line id="_x0000_s1070" style="POSITION: absolute" from="2310,5419" to="2311,7915"><stroke endarrow="block" startarrow="block"><font size="3"></font></stroke></line><shape id="_x0000_s1071" style="LEFT: 1800px; WIDTH: 1080px; POSITION: absolute; TOP: 6355px; HEIGHT: 468px" type="#_x0000_t202"><textbox><table cellspacing="0" cellpadding="0" width="100%"><tbody><tr> <td style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent"> <div> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><font face="Times New Roman" size="3">Spring</font></span></p> </div> </td> </tr></tbody></table></textbox></shape><wrap type="none"></wrap><anchorlock></anchorlock></group>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值