Files
OMS/app/ome/lib/aftersale/abstract.php
2025-12-28 23:13:25 +08:00

86 lines
1.7 KiB
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.
*/
abstract class ome_aftersale_abstract{
const _APP_NAME = 'ome';
protected $_shop = array();
/**
* 设置店铺
*
* @return void
* @author
**/
public function setShop($shop)
{
$this->_shop = $shop;
return $this;
}
public function pre_return_product_edit($return_id){ return NULL; }
public function return_product_edit_after($data){ return true; }
public function return_product_detail($return_id){ return NULL; }
public function pre_save_refund($apply_id,$data){ return true; }
public function after_save_refund($data){ return true; }
public function refund_detail($apply_id){ return NULL; }
public function pre_save_return($data){ return true; }
public function after_save_return($data){ return true; }
/**
* 是否继续转化单据
* @param
* @return
* @access public
* @author
*/
function choose_type()
{
return true;
}
/**
* 转化类型
*/
function choose_type_value()
{
return;
}
/**
* 售后是否向后端发起API请求
*/
function return_api(){
return FALSE;
}
function refund_button($apply_id,$status){
$rs = array('rsp'=>'default','msg'=>'','data'=>'');
return $rs;
}
function return_button($return_id,$status){
$rs = array('rsp'=>'default','msg'=>'','data'=>'');
return $rs;
}
function reship_edit($returninfo)
{
}
function get_return_type($returninfo){}
}
?>