@@ -86,6 +86,7 @@ class WashCate extends Controller
$title_arr= input('post.ladder_title');
$price_arr= input('post.price');
$price_param = [];
+ var_dump($title_arr,$price_arr);die();
if(empty($price_arr) || empty($title_arr)) $this->error('请设置价格');
foreach ($title_arr as $k=>$t){
$price_param[] = ['title'=>$t,'price'=>bcadd($price_arr[$k],0,2),'ladder_key'=>$k];
@@ -38,7 +38,7 @@
<script>
function btn_confirm(msg,fun,id) {
layer.confirm('请确定是否'+msg, {btn: ['确定', '取消'], title: "提示"}, function () {
- var url = "/mall/goods_cate/"+fun;
+ var url = "/mall/wash_cate/"+fun;
layer.closeAll();
$.ajax({
type: "post",