| | |
| | | # 项目上下文路径 |
| | | VUE_APP_CONTEXT_PATH = './' |
| | | |
| | | # VUE_APP_API_URL = 'http://localhost:10010' |
| | | VUE_APP_API_URL = 'http://localhost:10010' |
| | | |
| | | VUE_APP_API_URL = 'http://192.168.0.143:10010' |
| | | # VUE_APP_API_URL = 'http://192.168.0.143:10010' |
| | | |
| | | # VUE_APP_API_URL = 'https://dmtest.ahapp.net/fn_admin' |
| | | |
| | |
| | | import cn.emay.sdk.core.dto.sms.response.RetrieveReportResponse; |
| | | import cn.emay.sdk.core.dto.sms.response.SmsResponse; |
| | | import cn.emay.sdk.util.exception.SDKParamsException; |
| | | import cn.emay.sdk.util.json.gson.JsonObject; |
| | | import netscape.javascript.JSObject; |
| | | |
| | | public class EmayTool { |
| | | private static SmsSDKClient client ; |
| | |
| | | } |
| | | public static void main(String[] args) throws SDKParamsException, IOException { |
| | | new EmayTool("www.btom.cn",8080,"8SDK-EMY-6699-RIXTP","5EA482CE6A904271") |
| | | .sendSingleSms("15345690849","【豆米科技】这是我们的第一条短信哦"); |
| | | .sendSingleSms("15345690849","【阜宁阜铁投资有限公司】这是我们的第一条短信哦"); |
| | | // sendBatchOnlySms(); |
| | | // sendBatchSms(); |
| | | // sendPersonalitySms(); |
| | |
| | | * 正数之后的某天,负数之前某天 |
| | | * @param type |
| | | * 返回数据类型,开始00:00:00 结束 23:59:59或当 |
| | | * |
| | | * ex : |
| | | * |
| | | * getOtherDay(new Date(), -1, ""); 前一天当前时分秒 |
| | | * |
| | | * getOtherDay(new Date(), -1, "start"); 前一天开始时间00:00:00 |
| | | * |
| | | * getOtherDay(new Date(), -1, "end"); 前一天结束时间23:59:59 |
| | | * @return |
| | | */ |
| | |
| | | /** |
| | | * 数据压缩 |
| | | * |
| | | * @param is |
| | | * @param os |
| | | * @throws Exception |
| | | */ |
| | | public static byte[] compress(byte[] bytes) throws IOException { |
| | |
| | | |
| | | /** |
| | | * 数据解压 |
| | | * |
| | | * @param in |
| | | * @return |
| | | * @throws IOException |
| | | */ |