longyi 1 hónapja
szülő
commit
04271aa2ce
2 módosított fájl, 9 hozzáadás és 5 törlés
  1. 4 4
      core/CoreApp/controllers/Ac.php
  2. 5 1
      core/CoreApp/models/Model_api.php

+ 4 - 4
core/CoreApp/controllers/Ac.php

@@ -127,7 +127,6 @@ class Ac extends Start_Controller {
 	
 	public function _x3($arg_array)
 	{
-	    die;
 		$fullorder = $this->fullorder->get_number($arg_array[0]);
 		if(!$fullorder)
 		{
@@ -209,7 +208,7 @@ class Ac extends Start_Controller {
 			//$pt .= '<p>'.$p[1].' * '.$p[2].'</p>';
 		}
 		$fullorder['pt'] = $pt;
-		$fullorder['printnumber'] += 11;
+		$fullorder['printnumber'] += 8;
 // 		$fullorder['address'] = "221 5TH ST # APT305";
 // 		$fullorder['city'] = "W SACRAMENTO";
 // 		echo "<pre>";
@@ -238,8 +237,9 @@ class Ac extends Start_Controller {
 // 		$fullorder['bx'] = 110;
 		//$fullorder['qm'] = 1;
 	    echo "<pre>";
-	   
-		$b = $this->zxyuntu->get_data($fullorder);
+	    var_dump($fullorder);
+	    die;
+		$b = $this->cne->get_data($fullorder);
 		print_r($b);
 		die;
 		

+ 5 - 1
core/CoreApp/models/Model_api.php

@@ -14,7 +14,7 @@ function __construct(){
 		//$jqtime = ($name=='SuperNova')?24*3600*2:(2*3600 + 24*3600);
 		$fromTime = time()-36*3600-$jqtime;//strtotime('yesterday')-$jqtime;//昨日0点+1小时保险无漏单
 		$toTime = time();
-		//$this->logic_ding->sendToDing("独立站获取订单的店铺执行【".$name."】".json_encode($shop));
+		$this->logic_ding->sendToDing("独立站获取订单的店铺执行【".$name."】".json_encode($shop));
 		if($name == 'SU' || $name== 'SN')
 		{
 			$path = $_SERVER["DOCUMENT_ROOT"] . '/data/token/supernovawig.txt';
@@ -500,6 +500,10 @@ function __construct(){
     {
 		if($shop['name'] == 'yolissahair'){
 			$shopname = 'xxu7p0-3q';
+		}elseif ($shop['name'] == 'Yolissa') {
+		    $shopname = 'xxu7p0-3q';
+		}else{
+		    $shopname = $shop['name'];
 		}
 		$post = [];
 		$post['shopify_pay'] = [