支付问题处理
This commit is contained in:
parent
3dcff0b682
commit
87e13b3677
@ -1,5 +1,6 @@
|
|||||||
package cn.lili.modules.payment.kit.plugin.wechat.model;
|
package cn.lili.modules.payment.kit.plugin.wechat.model;
|
||||||
|
|
||||||
|
import cn.lili.common.utils.StringUtils;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.experimental.Accessors;
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
@ -42,6 +43,7 @@ public class UnifiedOrderModel {
|
|||||||
* 商品描述
|
* 商品描述
|
||||||
*/
|
*/
|
||||||
private String description;
|
private String description;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 商户订单号
|
* 商户订单号
|
||||||
*/
|
*/
|
||||||
@ -82,6 +84,15 @@ public class UnifiedOrderModel {
|
|||||||
* 场景信息
|
* 场景信息
|
||||||
*/
|
*/
|
||||||
private SceneInfo scene_info;
|
private SceneInfo scene_info;
|
||||||
|
|
||||||
|
|
||||||
|
public String getDescription() {
|
||||||
|
if (!StringUtils.isEmpty(description) && description.length() > 30) {
|
||||||
|
return description.substring(30);
|
||||||
|
}
|
||||||
|
return description;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user