作者 王晓刚
1 个管道 的构建 通过 耗费 0 秒

商户申请

... ... @@ -80,6 +80,7 @@ class Index extends WechatBase
$goods_ids[] = $value['goods_id'];
}
}
dump($goods_ids);
$goodsModel = new Goods();
$data = $goodsModel->selectPageData(['id'=>['not in',$goods_ids]],$page,$pageNum);
foreach($data as $key => $vo){
... ...
... ... @@ -85,11 +85,11 @@
$(".load_more").click(function () {
var page = $('#page').val();
page++;
alert(page);
var user_id = "{:get_current_user_id()}";
$.ajax({
url:"{:url('home/index/more')}",
type:"POST",
data:{'page':page},
data:{'page':page,'user_id':user_id},
success:function(res){
alert(res.data);
if(res.code == 1){
... ...