update 快递100查询订单信息
This commit is contained in:
+2
-2
@@ -90,12 +90,12 @@ public class PostInfoServiceImpl implements IPostInfoService {
|
||||
}
|
||||
|
||||
private void setCom(PostInfoQuery postInfoQuery) {
|
||||
if ("1".equals(postInfoQuery.getCom())) {
|
||||
if ("2".equals(postInfoQuery.getCom())) {
|
||||
postInfoQuery.setCom(SF);
|
||||
if (StringUtils.isBlank(postInfoQuery.getPhone())) {
|
||||
throw new JeroBootException("顺丰速递必须填写手机号!");
|
||||
}
|
||||
} else if ("2".equals(postInfoQuery.getCom())) {
|
||||
} else if ("1".equals(postInfoQuery.getCom())) {
|
||||
postInfoQuery.setCom(EMS);
|
||||
} else {
|
||||
throw new JeroBootException("只能查询顺丰和EMS的快递信息!");
|
||||
|
||||
Reference in New Issue
Block a user