|
@@ -12,6 +12,7 @@ class Returns extends Start_Controller {
|
|
|
$this->load->_model('Model_excel','excel');
|
|
$this->load->_model('Model_excel','excel');
|
|
|
$this->load->_model('Model_logic_order','logic_order');
|
|
$this->load->_model('Model_logic_order','logic_order');
|
|
|
}
|
|
}
|
|
|
|
|
+ private $show_url = "https://lyerposs.wepolicy.cn";
|
|
|
//定义方法的调用规则 获取URI第二段值
|
|
//定义方法的调用规则 获取URI第二段值
|
|
|
public function _remap($arg,$arg_array)
|
|
public function _remap($arg,$arg_array)
|
|
|
{
|
|
{
|
|
@@ -494,7 +495,9 @@ class Returns extends Start_Controller {
|
|
|
{
|
|
{
|
|
|
foreach ($returnsimg as $k=>$v)
|
|
foreach ($returnsimg as $k=>$v)
|
|
|
{
|
|
{
|
|
|
-
|
|
|
|
|
|
|
+ if(strpos("http",$v)===false){
|
|
|
|
|
+ $v = $this->show_url.$v;
|
|
|
|
|
+ }
|
|
|
$lx = explode(".",$v);
|
|
$lx = explode(".",$v);
|
|
|
$lx = strtolower(end($lx));
|
|
$lx = strtolower(end($lx));
|
|
|
if($lx == "3gp" || $lx == "rmvb" || $lx == "flv" || $lx == "wmv" || $lx == "avi" || $lx == "mkv" || $lx == "wav" || $lx == "mp4")
|
|
if($lx == "3gp" || $lx == "rmvb" || $lx == "flv" || $lx == "wmv" || $lx == "avi" || $lx == "mkv" || $lx == "wav" || $lx == "mp4")
|