Commit 4a9886be authored by wwccw0591's avatar wwccw0591

ccw:master_dev

parent 2f3902f1
......@@ -131,6 +131,8 @@ class ApiConst
const refundSellerAgree = 2;
const refundSellerRefuse = 3;
const refundTypeGoods = 2;
const returnTypeNotReturn=1;
const returnTypeMustReturn=2;
const refundTypeMoney = 1;
const refundApplyOnlyMoney = 1;
......
......@@ -446,6 +446,7 @@ class RefundServiceModel extends \Business\AbstractModel
$info['canPlatformIn'] = $refundReturnDao->isPlatformIn($info) ? ApiConst::one : ApiConst::zero;
$info['canSendShippingType'] = $refundReturnDao->checkIsAddReturnShipping($info) ? ApiConst::one : ApiConst::zero;
if($info['refundShippingType']==ApiConst::bySeller){
if($info['returnType']==ApiConst::returnTypeMustReturn){
if(!$info['diliverymanId']){
$info['diliveryman']=ArrayConst::defaultDeliveryMan;
}else{
......@@ -464,6 +465,9 @@ class RefundServiceModel extends \Business\AbstractModel
}else{
$info['diliveryman']=new \stdClass();
}
}else{
$info['diliveryman']=new \stdClass();
}
if (!$refundReturn) {
ErrorModel::throwException(CodeConfigModel::orderError);
} else {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -9,8 +9,8 @@
</head>
<body>
<form action="/order/getRefundDetail" method="post">
用户登录状态key:<input name="data[key]" value="ceb72deab920ac0edb7272b2ed9dfa1e"/><br />
退款refundId:<input name="data[refundId]" value="316574"/><br />
用户登录状态key:<input name="data[key]" value="52da049f7e2fbf0e10da32dfe909850e"/><br />
退款refundId:<input name="data[refundId]" value="8"/><br />
<p id="img_area"></p>
<input type="submit" value="提交">
</form>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment