|
@@ -79,6 +79,7 @@ class Aatest extends Start_Controller {
|
|
$this->load->_model("Model_cne","cne");
|
|
$this->load->_model("Model_cne","cne");
|
|
$this->load->_model("Model_apismt","apismt");
|
|
$this->load->_model("Model_apismt","apismt");
|
|
$this->load->_model("Model_notice","notice");
|
|
$this->load->_model("Model_notice","notice");
|
|
|
|
+ $this->load->_model("Model_producttitle","producttitle");
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -103,10 +104,36 @@ class Aatest extends Start_Controller {
|
|
$express = $this->express->read($fullorder['express']);
|
|
$express = $this->express->read($fullorder['express']);
|
|
$notice = $this->notice->find_all("id = 134");
|
|
$notice = $this->notice->find_all("id = 134");
|
|
echo "<pre>";
|
|
echo "<pre>";
|
|
- print_r($fullorder);
|
|
|
|
- print_r($shop);
|
|
|
|
- print_r($express);
|
|
|
|
- print_r($notice);
|
|
|
|
|
|
+ // print_r($fullorder);
|
|
|
|
+ // print_r($shop);
|
|
|
|
+ // print_r($express);
|
|
|
|
+ // print_r($notice);
|
|
|
|
+ // die;
|
|
|
|
+ $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;
|
|
die;
|
|
$go = $this->notice->get_god($fullorder,$shop,$express,$notice[0]);
|
|
$go = $this->notice->get_god($fullorder,$shop,$express,$notice[0]);
|
|
echo "<pre>";
|
|
echo "<pre>";
|