소스 검색

sunguidong

zhangguidong 2 년 전
부모
커밋
e9cb51c73a
1개의 변경된 파일4개의 추가작업 그리고 7개의 파일을 삭제
  1. 4 7
      app/admin/view/stat/index.html

+ 4 - 7
app/admin/view/stat/index.html

@@ -130,13 +130,10 @@
             success: function(res){
                 console.log(res);
                 if (res.code == 0) {
-                    $("#collectShop").html(res.data.collect_shop);
-                    $("#collectGoods").html(res.data.collect_goods);
-                    $("#visitCount").html(res.data.visit_count);
-                    $("#orderTotal").html(res.data.order_total);
-                    $("#orderPayCount").html(res.data.order_pay_count);
-                    $("#goodsPayCount").html(res.data.goods_pay_count);
-                    $("#memberCount").html(res.data.member_count);
+
+                    $("#orderTotal").html(res.data.sum);
+                    $("#orderPayCount").html(res.data.count);
+
                     $(".ns-flow-time-today").html(res.data.time_range);
                 }else{
                     layer.msg(res.message);