记得上下班打卡 | git大法好,push需谨慎

Commit 79482ac8 authored by anjiabin's avatar anjiabin
parents 1311547f a7a33822
...@@ -328,7 +328,7 @@ ...@@ -328,7 +328,7 @@
filterData.reduce((cur, next) => { filterData.reduce((cur, next) => {
if (!obj[next.timeId]) { if (!obj[next.timeId]) {
obj[next.timeId] = true obj[next.timeId] = true
str+= `<option value='${next.timeId}' label=${next.timeTitle}>${next.timeTitle}</option>` str+= `<option value='${next.timeId}' label='${next.timeTitle}'>${next.timeTitle}</option>`
} }
}, []) }, [])
selectTwoId = ''; // 选中演出下级的ID selectTwoId = ''; // 选中演出下级的ID
...@@ -368,7 +368,7 @@ ...@@ -368,7 +368,7 @@
let str = `<option value="0" label="" >所有</option>`; let str = `<option value="0" label="" >所有</option>`;
searchData.forEach(item=>{ searchData.forEach(item=>{
if (item.timeId == selectTwoId) { if (item.timeId == selectTwoId) {
str+= `<option value='${item.ticketId}' label=${item.ticketTitle}>${item.ticketTitle}</option>` str+= `<option value='${item.ticketId}' label='${item.ticketTitle}'>${item.ticketTitle}</option>`
} }
}) })
selectThreeId = ''; // 选中演出三级的ID selectThreeId = ''; // 选中演出三级的ID
......
...@@ -309,7 +309,7 @@ ...@@ -309,7 +309,7 @@
let str = `<option value="0" label="">所有</option>`; let str = `<option value="0" label="">所有</option>`;
searchData.forEach(item=>{ searchData.forEach(item=>{
if (item.performancesId == id) { if (item.performancesId == id) {
str+= `<option value='${item.timeId}' label=${item.timeTitle}>${item.timeTitle}</option>` str+= `<option value='${item.timeId}' label='${item.timeTitle}'>${item.timeTitle}</option>`
} }
}) })
selectTwoId = ''; // 选中演出下级的ID selectTwoId = ''; // 选中演出下级的ID
...@@ -343,7 +343,7 @@ ...@@ -343,7 +343,7 @@
let str = `<option value="0" label="" >所有</option>`; let str = `<option value="0" label="" >所有</option>`;
searchData.forEach(item=>{ searchData.forEach(item=>{
if (item.timeId == selectTwoId) { if (item.timeId == selectTwoId) {
str+= `<option value='${item.ticketId}' label=${item.ticketTitle}>${item.ticketTitle}</option>` str+= `<option value='${item.ticketId}' label='${item.ticketTitle}'>${item.ticketTitle}</option>`
} }
}) })
selectThreeId = ''; // 选中演出三级的ID selectThreeId = ''; // 选中演出三级的ID
......
...@@ -329,7 +329,7 @@ ...@@ -329,7 +329,7 @@
filterData.reduce((cur, next) => { filterData.reduce((cur, next) => {
if (!obj[next.timeId]) { if (!obj[next.timeId]) {
obj[next.timeId] = true obj[next.timeId] = true
str+= `<option value='${next.timeId}' label=${next.timeTitle}>${next.timeTitle}</option>` str+= `<option value='${next.timeId}' label='${next.timeTitle}'>${next.timeTitle}</option>`
} }
}, []) }, [])
selectTwoId = ''; // 选中演出下级的ID selectTwoId = ''; // 选中演出下级的ID
...@@ -369,7 +369,7 @@ ...@@ -369,7 +369,7 @@
let str = `<option value="0" label="" >所有</option>`; let str = `<option value="0" label="" >所有</option>`;
searchData.forEach(item=>{ searchData.forEach(item=>{
if (item.timeId == selectTwoId) { if (item.timeId == selectTwoId) {
str+= `<option value='${item.ticketId}' label=${item.ticketTitle}>${item.ticketTitle}</option>` str+= `<option value='${item.ticketId}' label='${item.ticketTitle}'>${item.ticketTitle}</option>`
} }
}) })
selectThreeId = ''; // 选中演出三级的ID selectThreeId = ''; // 选中演出三级的ID
......
...@@ -246,7 +246,7 @@ ...@@ -246,7 +246,7 @@
filterData.reduce((cur, next) => { filterData.reduce((cur, next) => {
if (!obj[next.timeId]) { if (!obj[next.timeId]) {
obj[next.timeId] = true obj[next.timeId] = true
str+= `<option value='${next.timeId}' label=${next.timeTitle}>${next.timeTitle}</option>` str+= `<option value='${next.timeId}' label='${next.timeTitle}'>${next.timeTitle}</option>`
} }
}, []) }, [])
selectTwoId = ''; // 选中演出下级的ID selectTwoId = ''; // 选中演出下级的ID
...@@ -279,7 +279,7 @@ ...@@ -279,7 +279,7 @@
let str = `<option value="0" label="" >所有</option>`; let str = `<option value="0" label="" >所有</option>`;
searchData.forEach(item=>{ searchData.forEach(item=>{
if (item.timeId == selectTwoId) { if (item.timeId == selectTwoId) {
str+= `<option value='${item.ticketId}' label=${item.ticketTitle}>${item.ticketTitle}</option>` str+= `<option value='${item.ticketId}' label='${item.ticketTitle}'>${item.ticketTitle}</option>`
} }
}) })
selectThreeId = ''; // 选中演出三级的ID selectThreeId = ''; // 选中演出三级的ID
......
...@@ -64,6 +64,7 @@ public class PerformancesExpressCallbackServiceImpl extends ServiceImpl<KylinOrd ...@@ -64,6 +64,7 @@ public class PerformancesExpressCallbackServiceImpl extends ServiceImpl<KylinOrd
private DataUtils dataUtils; private DataUtils dataUtils;
public boolean orderStatus(@RequestBody String params) { public boolean orderStatus(@RequestBody String params) {
log.info("接收ExpressOrderStatus请求:[params={}]", params);
boolean res = shunfengSignUtils.receiveRequestAndCheckSign(params, httpServletRequest); boolean res = shunfengSignUtils.receiveRequestAndCheckSign(params, httpServletRequest);
if (res) { if (res) {
PerformanceExpressPushStatusParam performanceExpressPushStatusParam = JsonUtils.fromJson(params, PerformanceExpressPushStatusParam.class); PerformanceExpressPushStatusParam performanceExpressPushStatusParam = JsonUtils.fromJson(params, PerformanceExpressPushStatusParam.class);
...@@ -90,6 +91,7 @@ public class PerformancesExpressCallbackServiceImpl extends ServiceImpl<KylinOrd ...@@ -90,6 +91,7 @@ public class PerformancesExpressCallbackServiceImpl extends ServiceImpl<KylinOrd
} }
public boolean orderFreightList(@RequestBody String params) { public boolean orderFreightList(@RequestBody String params) {
log.info("接收ExpressOrderFreightList请求:[params={}]", params);
boolean res = shunfengSignUtils.receiveRequestAndCheckSign(params, httpServletRequest); boolean res = shunfengSignUtils.receiveRequestAndCheckSign(params, httpServletRequest);
if (res) { if (res) {
PerformanceExpressPushFreightParam performanceExpressPushFreightParam = JsonUtils.fromJson(params, PerformanceExpressPushFreightParam.class); PerformanceExpressPushFreightParam performanceExpressPushFreightParam = JsonUtils.fromJson(params, PerformanceExpressPushFreightParam.class);
...@@ -117,6 +119,7 @@ public class PerformancesExpressCallbackServiceImpl extends ServiceImpl<KylinOrd ...@@ -117,6 +119,7 @@ public class PerformancesExpressCallbackServiceImpl extends ServiceImpl<KylinOrd
} }
public boolean orderRoute(@RequestBody String params) { public boolean orderRoute(@RequestBody String params) {
log.info("接收ExpressOrderRoute请求:[params={}]", params);
boolean res = shunfengSignUtils.receiveRequestAndCheckSign(params, httpServletRequest); boolean res = shunfengSignUtils.receiveRequestAndCheckSign(params, httpServletRequest);
// {"id":"123","mailno":"SF1020099313222","orderid":"NEW127745085969203221966686005","acceptTime":"2021-06-20 11:37:33","acceptAddress":"深圳市","remark":"顺丰已收件(测试推送)","opCode":"80","companyId":"557104628450889728","routeAddress":"https://devplatform.zhengzai.tv/platform/performancesExpress/orderRoute"} // {"id":"123","mailno":"SF1020099313222","orderid":"NEW127745085969203221966686005","acceptTime":"2021-06-20 11:37:33","acceptAddress":"深圳市","remark":"顺丰已收件(测试推送)","opCode":"80","companyId":"557104628450889728","routeAddress":"https://devplatform.zhengzai.tv/platform/performancesExpress/orderRoute"}
if (res) { if (res) {
......
...@@ -59,6 +59,7 @@ public class SweetWechatActionCallbackController { ...@@ -59,6 +59,7 @@ public class SweetWechatActionCallbackController {
@RequestParam(name = "encrypt_type", required = false) String encType, @RequestParam(name = "encrypt_type", required = false) String encType,
@RequestParam(name = "msg_signature", required = false) String msgSignature @RequestParam(name = "msg_signature", required = false) String msgSignature
) { ) {
try {
log.info("\n接收微信请求:[type=[{}], openid=[{}], [signature=[{}], encType=[{}], msgSignature=[{}]," log.info("\n接收微信请求:[type=[{}], openid=[{}], [signature=[{}], encType=[{}], msgSignature=[{}],"
+ " timestamp=[{}], nonce=[{}], requestBody=[\n{}\n] ", + " timestamp=[{}], nonce=[{}], requestBody=[\n{}\n] ",
type, openid, signature, encType, msgSignature, timestamp, nonce, requestBody); type, openid, signature, encType, msgSignature, timestamp, nonce, requestBody);
...@@ -67,5 +68,9 @@ public class SweetWechatActionCallbackController { ...@@ -67,5 +68,9 @@ public class SweetWechatActionCallbackController {
return ""; return "";
} }
return sweetWechatCallbackService.record(requestBody, type, timestamp, nonce, encType, msgSignature); return sweetWechatCallbackService.record(requestBody, type, timestamp, nonce, encType, msgSignature);
} catch (Exception e) {
log.error("用户动作微信回调Exception:[msg=[{}], e=[{}]]", e.getMessage(), e);
return "";
}
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment