diff --git a/box-bps/src/main/java/com/ruoyi/bps/service/impl/ExpSubsPushApiServiceImpl.java b/box-bps/src/main/java/com/ruoyi/bps/service/impl/ExpSubsPushApiServiceImpl.java index d54176c12..271cedff7 100644 --- a/box-bps/src/main/java/com/ruoyi/bps/service/impl/ExpSubsPushApiServiceImpl.java +++ b/box-bps/src/main/java/com/ruoyi/bps/service/impl/ExpSubsPushApiServiceImpl.java @@ -87,7 +87,7 @@ public class ExpSubsPushApiServiceImpl implements IExpSubsPushApiService { newExpSubscribe.setPhone(expSubscribe.getPhone()); newExpSubscribe.setSalt("bpsemi"); newExpSubscribe.setSubscribeTime(DateUtils.dateTimeNow("yyyy-MM-dd HH:mm:ss")); - newExpSubscribe.setResult((subscribeResp.isResult())?"ture":"false"); + newExpSubscribe.setResult((subscribeResp.isResult())?"true":"false"); newExpSubscribe.setReturnCode(subscribeResp.getReturnCode()); newExpSubscribe.setMessage(subscribeResp.getMessage()); @@ -243,8 +243,7 @@ public class ExpSubsPushApiServiceImpl implements IExpSubsPushApiService { } str+=subscribePushData.getContext(); if(list.size()-1>list.indexOf(subscribePushData)){ - //str+="\r\n"; - str+="
"; + str+="\r\n"; } } System.out.println(str); diff --git a/box-bps/src/main/java/com/ruoyi/bps/service/impl/ExpressInfoServiceImpl.java b/box-bps/src/main/java/com/ruoyi/bps/service/impl/ExpressInfoServiceImpl.java index 0f7163412..8786681d9 100644 --- a/box-bps/src/main/java/com/ruoyi/bps/service/impl/ExpressInfoServiceImpl.java +++ b/box-bps/src/main/java/com/ruoyi/bps/service/impl/ExpressInfoServiceImpl.java @@ -165,7 +165,7 @@ public class ExpressInfoServiceImpl implements IExpressInfoService dataStr+="【"+queryTrackData.getTime()+"】 "; dataStr+=queryTrackData.getContext(); if(queryTrackResp.getData().size()-1>queryTrackResp.getData().indexOf(queryTrackData)){ - dataStr+="\r"; + dataStr+="\r\n"; } } ExpressInfo callbackExpressInfo=new ExpressInfo(); diff --git a/box-bps/src/main/resources/templates/bps/expressInfo/expressInfo.html b/box-bps/src/main/resources/templates/bps/expressInfo/expressInfo.html index 183543dfd..10189c314 100644 --- a/box-bps/src/main/resources/templates/bps/expressInfo/expressInfo.html +++ b/box-bps/src/main/resources/templates/bps/expressInfo/expressInfo.html @@ -32,7 +32,7 @@
- + 导出 @@ -68,7 +68,7 @@ exportUrl: prefix + "/export", modalName: "快递信息", columns: [{ - checkbox: true + checkbox: false }, /* { @@ -98,7 +98,10 @@ },*/ { field: 'data', - title: '运单详情' + title: '运单详情', + formatter:function (value,row,index){ + return value.replace(/(\r\n)|(\n)/g,'
'); + } }, { field: 'state', @@ -126,7 +129,7 @@ { field: 'phone', title: '电话号码' - }, + }/*, { title: '操作', align: 'center', @@ -136,7 +139,7 @@ actions.push('删除'); return actions.join(''); } - }] + }*/] }; $.table.init(options); }); diff --git a/box-bps/src/main/resources/templates/bps/expsubspushresp/expsubspushresp.html b/box-bps/src/main/resources/templates/bps/expsubspushresp/expsubspushresp.html index 5e89e3450..18a86edb8 100644 --- a/box-bps/src/main/resources/templates/bps/expsubspushresp/expsubspushresp.html +++ b/box-bps/src/main/resources/templates/bps/expsubspushresp/expsubspushresp.html @@ -2,6 +2,7 @@ +
@@ -10,30 +11,9 @@
    - - -
  • - @@ -57,22 +37,6 @@
  • -
  •  搜索  重置 @@ -102,6 +66,7 @@
+