longyi 19 órája
szülő
commit
e13a28e752
2 módosított fájl, 598 hozzáadás és 596 törlés
  1. 27 25
      core/CoreApp/controllers/Aatest.php
  2. 571 571
      core/CoreApp/models/Model_notice.php

+ 27 - 25
core/CoreApp/controllers/Aatest.php

@@ -80,6 +80,7 @@ class Aatest extends Start_Controller {
 		$this->load->_model("Model_apismt","apismt");
 		$this->load->_model("Model_notice","notice");
 		$this->load->_model("Model_producttitle","producttitle");
+		$this->load->_model("Model_apitt","apitt");
     }
 	
 
@@ -99,6 +100,7 @@ class Aatest extends Start_Controller {
     }
 
 	public function _linshittmsg(){
+	    exit;
 		$fullorder = $this->fullordertt->get_orderinfo("577118877757837357");
 		$shop = $this->shop->read($fullorder['shop']);
 		$express = $this->express->read($fullorder['express']);
@@ -109,32 +111,32 @@ class Aatest extends Start_Controller {
 		// print_r($express);
 		// print_r($notice);
 		// die;
-		$list = $fullorder;
-		$ProductName = '';
-		if(empty($list['fpdata'])){
-			$st = [];
-		}else{
-			$st =  explode(';',trim($list['fpdata'],';'));
-		}
+// 		$list = $fullorder;
+// 		$ProductName = '';
+// 		if(empty($list['fpdata'])){
+// 			$st = [];
+// 		}else{
+// 			$st =  explode(';',trim($list['fpdata'],';'));
+// 		}
 		
-		foreach ($st as $v) 
-		{
-			$v =  explode('|',trim($v,'|'));
-			if(isset($v[1]))
-			{
-			    $th = $this->producttitle->get_title($v[1]);
-			    if($th)
-			    {
-				$ProductName .= $th['th'].', ';
-				}
-				else
-				{
-					$ProductName .= $v[1].', ';
-				}
-			}
-		}
-		var_dump($ProductName);
-		die;
+// 		foreach ($st as $v) 
+// 		{
+// 			$v =  explode('|',trim($v,'|'));
+// 			if(isset($v[1]))
+// 			{
+// 			    $th = $this->producttitle->get_title($v[1]);
+// 			    if($th)
+// 			    {
+// 				$ProductName .= $th['th'].', ';
+// 				}
+// 				else
+// 				{
+// 					$ProductName .= $v[1].', ';
+// 				}
+// 			}
+// 		}
+// 		var_dump($ProductName);
+// 		die;
 		$go = $this->notice->get_god($fullorder,$shop,$express,$notice[0]);
 		echo "<pre>";
 		print_r($go);

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 571 - 571
core/CoreApp/models/Model_notice.php