src/com/office/action/MoneyAction.java
(开头部分) 23KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
package com.office.action;
import java.util.ArrayList;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import com.office.actionform.LogonForm;
import com.office.actionform.MoneyCarForm;
import com.office.actionform.MoneyThingForm;
import com.office.actionform.SearchForm;
import com.office.dao.Content;
import com.office.dao.DB;
import com.office.officemenu.Searchtypelist;
import com.office.tools.Change;
import com.office.tools.CheckUserAble;
public class MoneyAction extends Action {
public ActionForward execute(ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse response){
ActionErrors errors=new ActionErrors();
HttpSession session=request.getSession();
LogonForm logonuser=(LogonForm)session.getAttribute("logonuser");
if(logonuser==null){
errors=new ActionErrors();
errors.add(ActionErrors.GLOBAL_ERROR,new ActionError("office.logon.notallow"));
saveErrors(request,errors);
return mapping.findForward("notallowlogon");
}
if(!CheckUserAble.check(logonuser)){
errors.add(ActionErrors.GLOBAL_ERROR,new ActionError("office.user.noallow"));
saveErrors(request,errors);
return mapping.findForward("notallow");
}
if(!CheckUserAble.check1(logonuser)){
errors.add(ActionErrors.GLOBAL_ERROR,new ActionError("office.user.noallow"));
saveErrors(request,errors);
return mapping.findForward("notallow");
}
String mark=mapping.getParameter();
ActionForward forward=new ActionForward();
if(mark.equals("money_look"))
forward=executeMoneyLook(mapping,form,request,response);
if(mark.equals("money_things_look"))
forward=executeMoneyThingLook(mapping,form,request,response);
if(mark.equals("money_things_add"))
forward=executeMoneyThingAdd(mapping,form,request,response);
后面还有 538 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。