Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
my-yaf-project
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenchuanwen
my-yaf-project
Commits
4f159df9
Commit
4f159df9
authored
Sep 08, 2018
by
liuyuzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
快递免邮问题
parent
c4053255
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
OrderConfirmUtil.php
application/library/Order/OrderConfirmUtil.php
+1
-1
CodeConfig.php
application/models/Error/CodeConfig.php
+1
-1
No files found.
application/library/Order/OrderConfirmUtil.php
View file @
4f159df9
...
@@ -220,7 +220,7 @@ class OrderConfirmUtil {
...
@@ -220,7 +220,7 @@ class OrderConfirmUtil {
if
(
$temp
[
'expressDistribution'
]
!=
\Our\ApiConst
::
one
){
if
(
$temp
[
'expressDistribution'
]
!=
\Our\ApiConst
::
one
){
\Error\ErrorModel
::
throwException
(
\Error\CodeConfigModel
::
noExpressDeliveryForOrder
);
\Error\ErrorModel
::
throwException
(
\Error\CodeConfigModel
::
noExpressDeliveryForOrder
);
}
}
if
(
!
(
$tempStore
[
'goodsFreight'
]
==
\Our\ApiConst
::
zero
&&
$tempStore
[
'is_transport'
]
&&
$tempStore
[
'transport_id'
]
>
\Our\ApiConst
::
zero
&&
isset
(
$temp
[
'shippingFee'
]))){
if
(
$tempStore
[
'goodsFreight'
]
==
\Our\ApiConst
::
zero
&&!
(
$tempStore
[
'is_transport'
]
&&
$tempStore
[
'transport_id'
]
>
\Our\ApiConst
::
zero
&&
isset
(
$temp
[
'shippingFee'
]))){
\Error\ErrorModel
::
throwException
(
\Error\CodeConfigModel
::
noExpressDeliveryForOrder
);
\Error\ErrorModel
::
throwException
(
\Error\CodeConfigModel
::
noExpressDeliveryForOrder
);
}
}
$deliveryFee
=
$temp
[
'shippingFee'
];
$deliveryFee
=
$temp
[
'shippingFee'
];
...
...
application/models/Error/CodeConfig.php
View file @
4f159df9
...
@@ -694,7 +694,7 @@ const notAllowDelete=300114;
...
@@ -694,7 +694,7 @@ const notAllowDelete=300114;
self
::
wrongDeliveryTimeRangeForOrder
=>
'下单时配送时间格式'
,
self
::
wrongDeliveryTimeRangeForOrder
=>
'下单时配送时间格式'
,
self
::
noBuyerDeliveryTypeForOrder
=>
'该店铺配置到店自提'
,
self
::
noBuyerDeliveryTypeForOrder
=>
'该店铺配置到店自提'
,
self
::
noDeliveryFeeForBuyerType
=>
'到店自提不收取配送费'
,
self
::
noDeliveryFeeForBuyerType
=>
'到店自提不收取配送费'
,
self
::
noExpressDeliveryForOrder
=>
'该店铺
为
配置快递配送'
,
self
::
noExpressDeliveryForOrder
=>
'该店铺
未
配置快递配送'
,
self
::
wrongPaywayForStoreForOrder
=>
'店铺暂未配置您选择的支付方式'
,
self
::
wrongPaywayForStoreForOrder
=>
'店铺暂未配置您选择的支付方式'
,
self
::
emptyDeliveryFeeForOrder
=>
'下单时配送费不能为空'
,
self
::
emptyDeliveryFeeForOrder
=>
'下单时配送费不能为空'
,
self
::
saveOrderPayFailed
=>
'订单支付信息保存失败'
,
self
::
saveOrderPayFailed
=>
'订单支付信息保存失败'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment