• 大小: 13.44M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-07-08
  • 语言: 其他
  • 标签: 其他  

资源简介

SecondHandMarket.rar

资源截图

代码片段和文件信息

package com.shm.actions;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import com.shm.beans.Admin;
import com.shm.biz.IAdminBiz;
import com.shm.utils.Jsonobject;
import com.shm.utils.SessionAttributeName;

@Scope(“prototype“)
@Controller(“adminAction“)
public class AdminAction extends InitAction {

private static final long serialVersionUID = 1L;
private Admin admin;
private Jsonobject json;

@Resource(name=“iAdminBiz“)
private IAdminBiz iAdminBiz;

public String login() {
Admin ad = iAdminBiz.getAdmin(admin);
if(ad != null) {
session.setAttribute(SessionAttributeName.ADMIN ad);
json = new Jsonobject();
json.setObj(ad);
}
return SUCCESS;
}

public String exit() {
session.setAttribute(SessionAttributeName.ADMIN ““);
json = new Jsonobject();
json.setResult(1);
return SUCCESS;
}

public Admin getAdmin() {
return admin;
}

public void setAdmin(Admin admin) {
this.admin = admin;
}

public Jsonobject getJson() {
return json;
}

public void setJson(Jsonobject json) {
this.json = json;
}

}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       3954  2018-04-10 20:54  SecondHandMarket\.classpath

    .......         8  2017-06-30 11:34  SecondHandMarket\.gitignore

     文件       1265  2018-04-10 21:01  SecondHandMarket\.project

    .......       567  2017-06-30 11:34  SecondHandMarket\.settings\.jsdtscope

     文件        315  2018-04-10 22:11  SecondHandMarket\.settings\org.eclipse.core.resources.prefs

     文件        364  2018-04-10 20:54  SecondHandMarket\.settings\org.eclipse.jdt.core.prefs

    .......       500  2017-06-30 11:34  SecondHandMarket\.settings\org.eclipse.wst.common.component

    .......       345  2017-06-30 11:34  SecondHandMarket\.settings\org.eclipse.wst.common.project.facet.core.xml

    .......        49  2017-06-30 11:34  SecondHandMarket\.settings\org.eclipse.wst.jsdt.ui.superType.container

    .......         6  2017-06-30 11:34  SecondHandMarket\.settings\org.eclipse.wst.jsdt.ui.superType.name

    .......      1842  2017-06-30 11:34  SecondHandMarket\build\classes\beans.xml

     文件       1901  2018-04-10 20:55  SecondHandMarket\build\classes\com\shm\actions\AdminAction.class

     文件       2678  2018-04-10 20:55  SecondHandMarket\build\classes\com\shm\actions\ChatAction.class

     文件       2097  2018-04-10 20:55  SecondHandMarket\build\classes\com\shm\actions\FeedbackAction.class

     文件       4000  2018-04-10 20:55  SecondHandMarket\build\classes\com\shm\actions\GoodsAction.class

     文件       1158  2018-04-10 20:55  SecondHandMarket\build\classes\com\shm\actions\InitAction.class

     文件       3703  2018-04-10 21:58  SecondHandMarket\build\classes\com\shm\actions\UserAction.class

     文件       2084  2018-04-10 20:55  SecondHandMarket\build\classes\com\shm\beans\Admin.class

     文件       2916  2018-04-10 20:55  SecondHandMarket\build\classes\com\shm\beans\Feedback.class

     文件       7034  2018-04-10 20:55  SecondHandMarket\build\classes\com\shm\beans\Goods.class

     文件       2116  2018-04-10 20:55  SecondHandMarket\build\classes\com\shm\beans\GoodsType.class

     文件       5315  2018-04-10 21:12  SecondHandMarket\build\classes\com\shm\beans\User.class

     文件        227  2018-04-10 20:55  SecondHandMarket\build\classes\com\shm\biz\IAdminBiz.class

     文件        303  2018-04-10 20:55  SecondHandMarket\build\classes\com\shm\biz\IFeedbackBiz.class

     文件        626  2018-04-10 20:55  SecondHandMarket\build\classes\com\shm\biz\IGoodsBiz.class

     文件        230  2018-04-10 20:55  SecondHandMarket\build\classes\com\shm\biz\IGoodsTypeBiz.class

     文件        942  2018-04-10 20:55  SecondHandMarket\build\classes\com\shm\biz\impl\AdminBizImpl.class

     文件       1123  2018-04-10 20:55  SecondHandMarket\build\classes\com\shm\biz\impl\FeedbackBizImpl.class

     文件       1854  2018-04-10 20:55  SecondHandMarket\build\classes\com\shm\biz\impl\GoodsBizImpl.class

     文件        850  2018-04-10 20:55  SecondHandMarket\build\classes\com\shm\biz\impl\GoodsTypeBizImpl.class

............此处省略299个文件信息

评论

共有 条评论