更新价格代码测试

master
Jimmy Liow 2 years ago
parent 2b4bab2f33
commit 3b266c537d

@ -1199,9 +1199,11 @@ class Information extends CI_Controller
public function test_price()
{
$price_rule = '<div style="color: red;">#ah-8,st,2#</div><div style="color: red;">#ah-8,st,2#</div>';
$price_tag_list = $this->parse_price_tag($price_rule);
var_dump($price_tag_list);
$price_rule = '<div style="color: red;">#ah-23,st,2#</div>';
$price_item_array = $this->price_pregmatch($price_rule);
var_dump($price_item_array);
$price_tag_list = $this->parse_price_tag($price_rule);
var_dump($price_tag_list);
}
/*!

Loading…
Cancel
Save