lvhao 1 주 전
부모
커밋
275b7a4557
1개의 변경된 파일6개의 추가작업 그리고 5개의 파일을 삭제
  1. 6 5
      core/CoreApp/controllers/Aatest.php

+ 6 - 5
core/CoreApp/controllers/Aatest.php

@@ -91,12 +91,13 @@ class Aatest extends Start_Controller {
     //定义方法的调用规则 获取URI第二段值
     public function _remap($arg,$arg_array)
     {  
-		$product_id = 33204;
-		$r = $this->db->from("fullorder")->where('extra_price IS NOT NULL', NULL, FALSE)->where('number','ALIP-251105-082')->where("JSON_SEARCH(extra_price, 'one', '$product_id', NULL, '$[*].product_id') IS NOT NULL")->get()->result_array();
-		echo "<pre>";
-		print_r($r);
+		$this->logic_ding->sendToDing("source != '1' and dlzemail < '1' and");
+		// $product_id = 33204;
+		// $r = $this->db->from("fullorder")->where('extra_price IS NOT NULL', NULL, FALSE)->where('number','ALIP-251105-082')->where("JSON_SEARCH(extra_price, 'one', '$product_id', NULL, '$[*].product_id') IS NOT NULL")->get()->result_array();
+		// echo "<pre>";
+		// print_r($r);
 		die;
-
+		//	$r = $this->db->from("fullorder")->where('extra_price IS NOT NULL', NULL, FALSE)->where("JSON_SEARCH(extra_price, 'one', '$product_id', NULL, '$[*].product_id') IS NOT NULL")->get()->result_array();
 		die;
          $where_arr = [
             "shop"=>35,//当前店铺为tt-wk