shopxx日志配置.doc

打开/src/shopxx.xml文件找到logConfig节点修改以下内容即可进行日志配置:
<logConfig>
<item operation="系统设置"actionClass="net.shopxx.action.admin.SettingAction"actionMethod="update" />

<item operation="添加管理员"actionClass="net.shopxx.action.admin.AdminAction" actionMethod="save"/>
<item operation="删除管理员"actionClass="net.shopxx.action.admin.AdminAction"actionMethod="delete" />
<item operation="编辑管理员"actionClass="net.shopxx.action.admin.AdminAction"actionMethod="update" />

<item operation="添加会员"actionClass="net.shopxx.action.admin.MemberAction"actionMethod="save" />
<item operation="删除会员"actionClass="net.shopxx.action.admin.MemberAction"actionMethod="delete" />
<item operation="编辑会员"actionClass="net.shopxx.action.admin.MemberAction"actionMethod="update" />

<item operation="添加商品分类"actionClass="net.shopxx.action.admin.GoodsCategoryAction"actionMethod="save" />
<item operation="删除商品分类"actionClass="net.shopxx.action.admin.GoodsCategoryAction"actionMethod="delete" />
<item operation="编辑商品分类"actionClass="net.shopxx.action.admin.GoodsCategoryAction"actionMethod="update" />

<item operation="添加商品"actionClass="net.shopxx.action.admin.GoodsAction"actionMethod="save" />
<item operation="删除商品" actionClass="net.shopxx.action.admin.GoodsAction"actionMethod="delete" />
<item operation="编辑商品"actionClass="net.shopxx.action.admin.GoodsAction"actionMethod="update" />

<item operation="添加文章分类"actionClass="net.shopxx.action.admin.ArticleCategoryAction"actionMethod="save" />
<item operation="删除文章分类"actionClass="net.shopxx.action.admin.ArticleCategoryAction"actionMethod="delete" />
<item operation="编辑文章分类" actionClass="net.shopxx.action.admin.ArticleCategoryAction"actionMethod="update" />

<item operation="添加文章"actionClass="net.shopxx.action.admin.ArticleAction"actionMethod="save" />
<item operation="删除文章"actionClass="net.shopxx.action.admin.ArticleAction" actionMethod="delete"/>
<item operation="编辑文章"actionClass="net.shopxx.action.admin.ArticleAction"actionMethod="update" />

<item operation="删除订单"actionClass="net.shopxx.action.admin.OrderAction"actionMethod="delete" />
<item operation="编辑订单"actionClass="net.shopxx.action.admin.OrderAction"actionMethod="update" />
<item operation="订单支付"actionClass="net.shopxx.action.admin.OrderAction"actionMethod="payment" />
<item operation="订单发货" actionClass="net.shopxx.action.admin.OrderAction"actionMethod="shipping" />
<item operation="订单退款"actionClass="net.shopxx.action.admin.OrderAction"actionMethod="refund" />
<item operation="订单退货"actionClass="net.shopxx.action.admin.OrderAction"actionMethod="reship" />
<item operation="订单完成"actionClass="net.shopxx.action.admin.OrderAction"actionMethod="completed" />
<item operation="订单作废"actionClass="net.shopxx.action.admin.OrderAction"actionMethod="invalid" />
</logConfig>

operation是日志操作名称,actionClass是处理的Action,actionMethod则是Action对应的处理方法


你可能感兴趣的:(配置)