| | |
| | | <scope>system</scope> |
| | | <systemPath>${basedir}/libs/jd-cps-client-2.2.jar</systemPath> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>opush-server-sdk-1.0.3</groupId> |
| | | <artifactId>opush-server-sdk-1.0.3</artifactId> |
| | | <version>1.0.3</version> |
| | | <scope>system</scope> |
| | | <systemPath>${basedir}/libs/opush-server-sdk-1.0.3.jar</systemPath> |
| | | </dependency> |
| | | |
| | | |
| | | </dependencies> |
| | |
| | | * @return
|
| | | */
|
| | | public static List<TaoBaoOrder> getCommonOrder(long startTime, long endTime) {
|
| | | List<TaoBaoOrder> orderList = new ArrayList<>();
|
| | | long span = (endTime - startTime) % 1000 == 0 ? (endTime - startTime) / 1000 : (endTime - startTime) / 1000 + 1;
|
| | | int count = (int) (span / 1200);
|
| | | if (span % 1200 != 0)
|
| | | count++;
|
| | | for (int i = 0; i < count; i++) {
|
| | | long startT = startTime + i * 1200 * 1000L;
|
| | | int s = 1200;
|
| | | if (endTime < startT + 1200 * 1000L) {
|
| | | s = (int) ((endTime - startT) / 1000) + 1;
|
| | | if (s < 60)
|
| | | s = 60;
|
| | | }
|
| | | List<TaoBaoOrder> tempOrderList = getCommonOrder(startT, s);
|
| | | if (tempOrderList != null && tempOrderList.size() > 0)
|
| | | orderList.addAll(tempOrderList);
|
| | | }
|
| | | List<TaoBaoOrder> orderList = TaoKeOrderApiUtil.getTaoBaoCommonOrderList(startTime, endTime, 1);
|
| | | return orderList;
|
| | | }
|
| | |
|
| | |
| | | dh_version=#{ver} |
| | | </foreach> |
| | | </if> |
| | | |
| | | </select> |
| | | <select id="selectByDevice" resultMap="BaseResultMap" |
| | | parameterType="java.lang.String"> |
| | | parameterType="java.lang.String" useCache="false" flushCache="true"> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from yeshi_ec_uid_devicetoken_hw where dh_device = #{0} |
| | |
| | |
|
| | | // 抖音
|
| | | public void doDouYinDeviceActiveJob() {
|
| | | LogHelper.test("开始执行:doDouYinDeviceActiveJob");
|
| | | executor.execute(new Runnable() {
|
| | | @Override
|
| | | public void run() {
|
| | | LogHelper.test("开始执行:doDouYinDeviceActiveJob-run");
|
| | | while (true) {
|
| | | Map<String, DouYinDeviceActiveQueueDTO> map = DouYinDeviceActiveCMQManager.getInstance()
|
| | | .consume(16);
|
| | |
| | | if (active.getPlatform() == 1) {
|
| | | DeviceActive deviceActive = deviceActiveService
|
| | | .getFirstActiveInfo(active.getDevice());
|
| | | if (deviceActive != null) {
|
| | | if (deviceActive != null && deviceActive.getImei() != null) {
|
| | | DouYinClickEvent event = douYinClickEventService
|
| | | .selectByUuid(deviceActive.getImei());
|
| | | if (event != null) {// 回调
|
| | |
| | | share_content=来自你的分享赚订单号:{0}的分享提成¥{1}元已经转入到你的余额中
|
| | |
|
| | | service_title=售后订单扣款提示
|
| | | service_content=订单号:{0}的订单淘宝已售后退款处理,其订单返利/分享提成¥{1}元,将从你的余额中扣出。因为任何订单出现退款或售后,商家均不会支付相应订单的广告费,所以返利券也无法提供返利,非常遗憾。温馨提示:恶意的提交售后申请,淘宝会对该用户做相应的处罚,购物信用将永远有记录;另一方面返利券也会做出相应处罚。
|
| | | service_content=订单号:{0}的订单淘宝已售后退款处理,其订单返利/分享提成¥{1}元,将从你的余额中扣出。因为任何订单出现退款或售后,商家均不会支付相应订单的广告费,所以板栗快省也无法提供返利,非常遗憾。温馨提示:恶意的提交售后申请,淘宝会对该用户做相应的处罚,购物信用将永远有记录;另一方面板栗快省也会做出相应处罚。
|
| | |
|
| | | extract_apply_title=你已成功提交提现申请
|
| | | extract_apply_content=你已成功提交提现申请,我们会尽快审核,如账目明细无误,我们将在24小时内为您转账。
|
| | |
| | | #登录验证码
|
| | | sms_login=【[签名]】验证码:[验证码],2分钟内有效。为了保护您的账号安全,验证短信请勿转发他人。
|
| | | #绑定验证码
|
| | | sms_bind=【[签名]】[验证码](返利券验证码),有效期为2分钟。为了保护您的账号安全,验证短信请勿转发他人。
|
| | | sms_bind=【[签名]】验证码:[验证码],2分钟内有效。为了保护您的账号安全,验证短信请勿转发他人。
|
| | | #提现验证码
|
| | | sms_extract=【[签名]】[验证码](返利券验证码),有效期为2分钟。为了保护您的账号安全,验证短信请勿转发他人。
|
| | | #提现成功验证码
|
| | |
| | |
|
| | | sms_service_emergency=【[签名]】您的服务器发生故障,[服务名字]业务不能正常使用,请及时修复故障!
|
| | |
|
| | | sms_appid=1400092621
|
| | | sms_appkey=a710f8995ceb7d1c7dacfaff730531e2
|
| | | sms_sign=返利券APP
|
| | | #sms_appid=1400092621
|
| | | #sms_appkey=a710f8995ceb7d1c7dacfaff730531e2
|
| | | #sms_sign=返利券APP
|
| | |
|
| | | sms_appid=1400246689
|
| | | sms_appkey=7f3dfd82f3ff0326127a21009464bfd9
|
| | | sms_sign=板栗快省
|
| | |
|
| | |
|
| | | #阿里云短信配置
|
| | | sms_aliyun_accesskey_id=LTAIqpGdSJwB1l7i
|
| | |
| | | #项目名称
|
| | | project_name=fanli
|
| | |
|
| | | project_chinese_name=返利券
|
| | | project_chinese_name=板栗快省
|
| | | #项目域名
|
| | | project_host=flq.yeshitv.com
|
| | | #公众号appid
|
| | | wxgz_appid=wx43617e2ed82c5b28
|
| | | wxgz_appid=wxa99686bb65a9f466
|
| | | #wx43617e2ed82c5b28
|
| | | #公众号appsecret
|
| | | wxgz_appsecret=f8a65908fb4681bdd181de70f6ab9a3b
|
| | | wxgz_appsecret=57390718ddedaa1591f6876cdcf96f43
|
| | | #f8a65908fb4681bdd181de70f6ab9a3b
|
| | | #
|
| | | #开放平台APPID
|
| | | wx_open_appid=wx5c0d167c6e3ad726
|
| | |
| | | #微信公众号配置
|
| | |
|
| | | #欢迎语
|
| | | welcome_msg=你好啊,欢迎来到《返利券》官方公众号[爱心][爱心] \n 平时购物领券可是一种生活方式哦,券后价非常给力,下载《返利券》APP有返利哦,现在可以购物领券啦![發][發] \n [礼物]你可以回复,例如:衣服,可快速查询优惠券。\n [强]购物领券,绝对超给力 \n\n ↓↓下载APP不光能领券↓↓ \n ↓↓还有返利哦↓↓ \n <a href='http://sj.qq.com/myapp/detail.htm?apkName=com.yeshi.ec.rebate'> >>>戳此下载</a>
|
| | | welcome_msg=你好啊,欢迎来到《板栗快省》官方公众号[爱心][爱心] \n 平时购物领券可是一种生活方式哦,券后价非常给力,下载《板栗快省》APP有返利哦,现在可以购物领券啦![發][發] \n [礼物]你可以回复,例如:衣服,可快速查询优惠券。\n [强]购物领券,绝对超给力 \n\n ↓↓下载APP不光能领券↓↓ \n ↓↓还有返利哦↓↓ \n <a href='http://sj.qq.com/myapp/detail.htm?apkName=com.yeshi.ec.rebate'> >>>戳此下载</a>
|
| | | #app下载链接
|
| | | app_download_link=http://sj.qq.com/myapp/detail.htm?apkName=com.yeshi.ec.rebate
|
| | |
|
| | |
| | | h5_url=http://m.ixxyj.cn/splist.html
|
| | |
|
| | | #登录主域名
|
| | | login_host=flq.xiaoxiangyingji.com
|
| | | login_host=banli.xiaoxiangyingji.com
|
| | |
|
New file |
| | |
| | | <%@ page language="java" contentType="text/html; charset=UTF-8"
|
| | | pageEncoding="UTF-8"%>
|
| | | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
| | | <html>
|
| | | <head>
|
| | | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
| | | <title>登录</title>
|
| | | <meta name="viewport"
|
| | | content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
|
| | | <style>
|
| | | a {
|
| | | display: block;
|
| | | margin-top: 50px;
|
| | | font-size: 30px;
|
| | | padding: 20px;
|
| | | background: green;
|
| | | color: white;
|
| | | text-decoration: none;
|
| | | text-align: center;
|
| | | }
|
| | | </style>
|
| | | </head>
|
| | | <body>
|
| | | <a
|
| | | href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxa99686bb65a9f466&redirect_uri=http%3a%2f%2fbanli.xiaoxiangyingji.com%2ffanli%2fpay%2floginCallBack&response_type=code&scope=snsapi_base&state=123#wechat_redirect">
|
| | | 支付1 </a>
|
| | |
|
| | | <a style="display: none;"
|
| | | href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx937e06fcf8a42785&redirect_uri=http%3a%2f%2fwxtb.16cl.cn%2fpay%2flogincode&response_type=code&scope=snsapi_base&state=123#wechat_redirect">
|
| | | 支付2 </a>
|
| | | </body>
|
| | | </html> |
New file |
| | |
| | | <%@ page language="java" contentType="text/html; charset=UTF-8"
|
| | | pageEncoding="UTF-8"%>
|
| | | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
| | | <html>
|
| | | <head>
|
| | | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
| | | <meta name="viewport"
|
| | | content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
|
| | | <title>支付</title>
|
| | | <style>
|
| | | a {
|
| | | display: block;
|
| | | margin-top: 50px;
|
| | | font-size: 30px;
|
| | | padding: 20px;
|
| | | background: green;
|
| | | color: white;
|
| | | text-decoration: none;
|
| | | text-align: center;
|
| | | }
|
| | | </style>
|
| | | </head>
|
| | | <body>等待支付
|
| | | </body>
|
| | |
|
| | | <script>
|
| | | function onBridgeReady() {
|
| | | WeixinJSBridge.invoke(
|
| | | 'getBrandWCPayRequest', {
|
| | | "appId":"<%=request.getAttribute("appId")%>", //公众号名称,由商户传入
|
| | | "timeStamp":"<%=request.getAttribute("timeStamp")%>", //时间戳,自1970年以来的秒数
|
| | | "nonceStr":"<%=request.getAttribute("nonceStr")%>", //随机串
|
| | | "package":"<%=request.getAttribute("package")%>",
|
| | | "signType":"<%=request.getAttribute("signType")%>", //微信签名方式:
|
| | | "paySign":"<%=request.getAttribute("paySign")%>" //微信签名
|
| | | },
|
| | | function (res) {
|
| | | if (res.err_msg == "get_brand_wcpay_request:ok") {
|
| | | // 使用以上方式判断前端返回,微信团队郑重提示:
|
| | | //res.err_msg将在用户支付成功后返回ok,但并不保证它绝对可靠。
|
| | | }
|
| | | });
|
| | | }
|
| | |
|
| | | if (typeof WeixinJSBridge == "undefined") {
|
| | | if (document.addEventListener) {
|
| | | document.addEventListener('WeixinJSBridgeReady', onBridgeReady, false);
|
| | | } else if (document.attachEvent) {
|
| | | document.attachEvent('WeixinJSBridgeReady', onBridgeReady);
|
| | | document.attachEvent('onWeixinJSBridgeReady', onBridgeReady);
|
| | | }
|
| | | } else {
|
| | | onBridgeReady();
|
| | | }
|
| | | </script>
|
| | |
|
| | | </html> |
New file |
| | |
| | | <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
|
| | | pageEncoding="ISO-8859-1"%>
|
| | | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
| | | <html>
|
| | | <head>
|
| | | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
| | | <title>登录</title>
|
| | | <meta name="viewport"
|
| | | content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
|
| | | <style>
|
| | | a {
|
| | | display: block;
|
| | | margin-top: 50px;
|
| | | font-size: 30px;
|
| | | padding: 20px;
|
| | | background: green;
|
| | | color: white;
|
| | | text-decoration: none;
|
| | | text-align: center;
|
| | | }
|
| | | </style>
|
| | | </head>
|
| | | <body>
|
| | | <a
|
| | | href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxa99686bb65a9f466&redirect_uri=http%3a%2f%2fpay.banliapp.com%2fpay%2floginCallBack&response_type=code&scope=snsapi_base&state=123#wechat_redirect">
|
| | | 支付1 </a>
|
| | |
|
| | | <a style="display: none;"
|
| | | href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx937e06fcf8a42785&redirect_uri=http%3a%2f%2fwxtb.16cl.cn%2fpay%2flogincode&response_type=code&scope=snsapi_base&state=123#wechat_redirect">
|
| | | 支付2 </a>
|
| | | </body>
|
| | | </html> |
New file |
| | |
| | | <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
|
| | | pageEncoding="ISO-8859-1"%>
|
| | | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
| | | <html>
|
| | | <head>
|
| | | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
| | | <meta name="viewport"
|
| | | content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
|
| | | <title>支付</title>
|
| | | <style>
|
| | | a {
|
| | | display: block;
|
| | | margin-top: 50px;
|
| | | font-size: 30px;
|
| | | padding: 20px;
|
| | | background: green;
|
| | | color: white;
|
| | | text-decoration: none;
|
| | | text-align: center;
|
| | | }
|
| | | </style>
|
| | | </head>
|
| | | <body>等待支付
|
| | | </body>
|
| | |
|
| | | <script type="javascript">
|
| | |
|
| | | function onBridgeReady() {
|
| | | WeixinJSBridge.invoke(
|
| | | 'getBrandWCPayRequest', {
|
| | | "appId":<%=request.getAttribute("appId")%>, //公众号名称,由商户传入
|
| | | "timeStamp":<%=request.getAttribute("timeStamp")%>, //时间戳,自1970年以来的秒数
|
| | | "nonceStr":<%=request.getAttribute("nonceStr")%>, //随机串
|
| | | "package":<%=request.getAttribute("package")%>,
|
| | | "signType":<%=request.getAttribute("signType")%>, //微信签名方式:
|
| | | "paySign":<%=request.getAttribute("paySign")%> //微信签名
|
| | | },
|
| | | function (res) {
|
| | | if (res.err_msg == "get_brand_wcpay_request:ok") {
|
| | | // 使用以上方式判断前端返回,微信团队郑重提示:
|
| | | //res.err_msg将在用户支付成功后返回ok,但并不保证它绝对可靠。
|
| | | }
|
| | | });
|
| | | }
|
| | |
|
| | | if (typeof WeixinJSBridge == "undefined") {
|
| | | if (document.addEventListener) {
|
| | | document.addEventListener('WeixinJSBridgeReady', onBridgeReady, false);
|
| | | } else if (document.attachEvent) {
|
| | | document.attachEvent('WeixinJSBridgeReady', onBridgeReady);
|
| | | document.attachEvent('onWeixinJSBridgeReady', onBridgeReady);
|
| | | }
|
| | | } else {
|
| | | onBridgeReady();
|
| | | }
|
| | | </script>
|
| | |
|
| | | </html> |