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
c6990636
Commit
c6990636
authored
Dec 04, 2018
by
christ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reciever
parent
0b7bf8a0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
RefundService.php
application/models/Business/Order/RefundService.php
+1
-1
CodeConfig.php
application/models/Error/CodeConfig.php
+2
-0
No files found.
application/models/Business/Order/RefundService.php
View file @
c6990636
...
@@ -84,7 +84,7 @@ class RefundServiceModel extends \Business\AbstractModel
...
@@ -84,7 +84,7 @@ class RefundServiceModel extends \Business\AbstractModel
*/
*/
public
function
setReceiveTime
(
$storeId
,
$refundId
,
$receiveTime
)
{
public
function
setReceiveTime
(
$storeId
,
$refundId
,
$receiveTime
)
{
if
(
$receiveTime
<
TIMESTAMP
){
if
(
$receiveTime
<
TIMESTAMP
){
ErrorModel
::
throwException
(
CodeConfigModel
::
commonError
);
ErrorModel
::
throwException
(
CodeConfigModel
::
beyondRecieverTime
);
}
}
$refundReturnDao
=
\DAO\Order\RefundReturnModel
::
getInstance
(
DbNameConst
::
masterDBConnectName
);
$refundReturnDao
=
\DAO\Order\RefundReturnModel
::
getInstance
(
DbNameConst
::
masterDBConnectName
);
$storeDao
=
\DAO\StoreModel
::
getInstance
(
DbNameConst
::
masterDBConnectName
);
$storeDao
=
\DAO\StoreModel
::
getInstance
(
DbNameConst
::
masterDBConnectName
);
...
...
application/models/Error/CodeConfig.php
View file @
c6990636
...
@@ -322,6 +322,7 @@ class CodeConfigModel
...
@@ -322,6 +322,7 @@ class CodeConfigModel
const
updateRefundStateNameFail
=
300141
;
const
updateRefundStateNameFail
=
300141
;
const
refundMoneyError
=
300142
;
const
refundMoneyError
=
300142
;
const
refundWriteError
=
300143
;
const
refundWriteError
=
300143
;
const
beyondRecieverTime
=
300144
;
//店铺相关错误码
//店铺相关错误码
//商品分类
//商品分类
...
@@ -825,6 +826,7 @@ class CodeConfigModel
...
@@ -825,6 +826,7 @@ class CodeConfigModel
self
::
updateRefundStateNameFail
=>
'更新order表refund_state_name失败'
,
self
::
updateRefundStateNameFail
=>
'更新order表refund_state_name失败'
,
self
::
refundMoneyError
=>
'退款失败'
,
self
::
refundMoneyError
=>
'退款失败'
,
self
::
refundWriteError
=>
'退款表写入失败'
,
self
::
refundWriteError
=>
'退款表写入失败'
,
self
::
beyondRecieverTime
=>
'设置收货时间不能超过当前时间'
,
//销售员
//销售员
self
::
emptySaleGoodsId
=>
'商品id不能为空'
,
self
::
emptySaleGoodsId
=>
'商品id不能为空'
,
self
::
emptySaleGoods
=>
'销售商品不存在'
,
self
::
emptySaleGoods
=>
'销售商品不存在'
,
...
...
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