Files
OMS/app/wap/lib/event/receive/reship.php
2025-12-28 23:13:25 +08:00

41 lines
850 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Copyright © ShopeX http://www.shopex.cn. All rights reserved.
* See LICENSE file for license details.
*/
/**
* 退换货事件处理类
* 20170516
* wangjianjun@shopex.cn
*/
class wap_event_receive_reship extends wap_event_response{
/**
* 退换货单创建事件
* @param array $data
*/
public function create($data){
//创建
$res = kernel::single('wap_receipt_reship')->create($data, $msg);
if($res){
return $this->send_succ();
}else{
return $this->send_error($msg);
}
}
public function cancel($data){
$res = kernel::single('wap_receipt_reship')->cancel($data, $msg);
if($res){
return $this->send_succ();
}else{
return $this->send_error($msg);
}
}
}
?>