|
@@ -91,12 +91,13 @@ class Aatest extends Start_Controller {
|
|
|
//定义方法的调用规则 获取URI第二段值
|
|
//定义方法的调用规则 获取URI第二段值
|
|
|
public function _remap($arg,$arg_array)
|
|
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;
|
|
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;
|
|
die;
|
|
|
$where_arr = [
|
|
$where_arr = [
|
|
|
"shop"=>35,//当前店铺为tt-wk
|
|
"shop"=>35,//当前店铺为tt-wk
|