|
|
@ -1325,7 +1325,7 @@ class Information extends CI_Controller
|
|
|
|
|
|
|
|
|
|
|
|
public function test_price()
|
|
|
|
public function test_price()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$price_rule = $this->input->get('price_rule'); //'<div style="color: red;">#ah-mtc-3,st,2#</div>';
|
|
|
|
$price_rule = base64_decode($this->input->get('price_rule')); //'<div">#ah-mtc-3,st,2#</div>';
|
|
|
|
$price_item_array = $this->price_pregmatch($price_rule);
|
|
|
|
$price_item_array = $this->price_pregmatch($price_rule);
|
|
|
|
var_dump($price_item_array);
|
|
|
|
var_dump($price_item_array);
|
|
|
|
$price_tag_list = $this->parse_price_tag($price_rule);
|
|
|
|
$price_tag_list = $this->parse_price_tag($price_rule);
|
|
|
|