⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jsresponse.java

📁 采用JAVA开发
💻 JAVA
字号:
package com.gctech.sms.sp.dwzb.rsp;
import com.gctech.sms.sp.dwzb.*;
import com.gctech.augury.util.ProcessUtil;
import com.gctech.augury.bo.SMSProcessIF;

public class JSResponse extends Response
{
  public JSResponse()
  {
  }

  public String getResponse()
  {

    String[] para = super.content.parameter();
    String date = null;
    String type = null;
    if(para == null)
    {

      date = super.now();
      type = "date";
    }
    else
    {
      date = para[0];
      if(date.length() == 8)
        type = "date";
      else if(date.length() == 6)
        type = "month";
      else
        type = "year";
    }

    SMSProcessIF sms = ProcessUtil.getSMSProcessInstance(user.getUserId());
    String res = sms.getUniteFortune(date,type)[3];
    return res;
  }



  public static void main(String[] args)
  {
    JSResponse JSResponse1 = new JSResponse();
  }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -