wupengfei пре 3 година
родитељ
комит
066c9c9ef0

+ 21 - 0
application/api/common.php

@@ -0,0 +1,21 @@
+<?php
+// 接口公共方法
+use think\Db;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+ 42 - 0
application/api/controller/Shoppingcar.php

@@ -0,0 +1,42 @@
+<?php
+
+
+namespace app\api\controller;
+use think\Db;
+/**
+ * @title 购物车管理(线上商城 && 积分商城)
+ * @controller Usermanage
+ * @group base
+ */
+class Usermanage extends Base
+{
+    protected $page; // 页数
+    protected $page_num;
+    protected $off_set;
+
+    public function initialize()
+    {
+        //parent::check_login();
+        $this->page = input('page',1);
+        $this->page_num = input('page_num',20);
+        $this->off_set   =   $this->page * $this->page_num - $this->page_num;
+    }
+
+
+    public function getOnlineMallList()
+    {
+
+    }
+
+
+
+
+
+
+
+
+
+
+
+
+}

+ 2 - 0
application/store/view/member/index.html

@@ -9,6 +9,7 @@
         <tr>
             <th class='text-left nowrap' style="width: 10%">头像</th>
             <th class='text-left nowrap' style="width: 15%">姓名</th>
+            <th class='text-left nowrap' style="width: 15%">积分</th>
             <th class='text-left nowrap' style="width: 15%">手机号</th>
             <th class='text-left nowrap' style="width: 20%">个人简介</th>
             <th class='text-left nowrap' style="width: 20%">注册时间</th>
@@ -27,6 +28,7 @@
             <td class='text-left nowrap'>
                 <div class="inline-block">{$vo.name|default='--'}</div>
             </td>
+            <td class='text-left'>{$vo.integral|default='0'}</td>
             <td class='text-left'>{$vo.phone|default='--'}</td>
             <td class='text-left'>{$vo.synopsis|default='--'}</td>
             <td class='text-left'>{$vo.create_at|format_datetime}</td>