Your Name 3 年之前
父节点
当前提交
5afdd51f15

+ 0 - 41
learn/active/lib/OffCore.php

@@ -1,41 +0,0 @@
-<?php
-
-namespace Active\Lib;
-
-use Dever;
-
-Class Offcore
-{
-    protected $uid = -1;
-    protected $use = array();
-    protected $check = true;
-    public $data = array();
-
-    public function __construct()
-    {
-        $this->uid = Dever::load('passport/user')->check(false);
-        if ($this->uid <= 0) {
-            // $this->uid = 1;
-        }
-        if ($this->check) {
-            $this->checkLogin();
-        }
-        
-        if ($this->uid) {
-            $this->user = Dever::db('active/info_off')->find($this->uid);
-            // $this->user['uid'] = $this->user['id'];
-        }
-        if ($this->check) {
-            if ($this->user) {
-                $this->user['uid'] = $this->user['id'];
-            } 
-        }
-    }
-
-    public function checkLogin()
-    {
-        if (!$this->uid || $this->uid <= 0) {
-            Dever::alert('请先登录', -2);
-        }
-    }
-}

+ 0 - 41
learn/active/lib/OffCroe.php

@@ -1,41 +0,0 @@
-<?php
-
-namespace Active\Lib;
-
-use Dever;
-
-class OffCroe
-{
-    protected $uid = -1;
-    protected $use = array();
-    protected $check = true;
-    public $data = array();
-
-    public function __construct()
-    {
-        $this->uid = Dever::load('passport/user')->check(false);
-        if ($this->uid <= 0) {
-            // $this->uid = 1;
-        }
-        if ($this->check) {
-            $this->checkLogin();
-        }
-        
-        if ($this->uid) {
-            $this->user = Dever::db('active/info_off')->find($this->uid);
-            // $this->user['uid'] = $this->user['id'];
-        }
-        if ($this->check) {
-            if ($this->user) {
-                $this->user['uid'] = $this->user['id'];
-            } 
-        }
-    }
-
-    public function checkLogin()
-    {
-        if (!$this->uid || $this->uid <= 0) {
-            Dever::alert('请先登录', -2);
-        }
-    }
-}

+ 0 - 27
service/agent/assets/manage/html/option_account.html

@@ -1,27 +0,0 @@
-
-<form class="layui-form form10" action="" target="f10" method="post">
-<iframe id="f10" name="f10" style="display:none;"></iframe>
-<div class="layui-form-item" id="show">
-    <table class="layui-table">
-      <thead>
-        <tr>
-          <th>昵称</th>
-          <th>加入时间</th>
-          <th>签名</th>
-        </tr> 
-      </thead>
-      <tbody>
-        <tr>
-          <td>贤心</td>
-          <td>2016-11-29</td>
-          <td>人生就像是一场修行</td>
-        </tr>
-        <tr>
-          <td>许闲心</td>
-          <td>2016-11-28</td>
-          <td>于千万人之中遇见你所遇见的人,于千万年之中,时间的无涯的荒野里…</td>
-        </tr>
-      </tbody>
-    </table>
-</div>
-</form>

+ 0 - 5
service/agent/template/manage/option_account.php

@@ -1,5 +0,0 @@
-<?php
-
-$view
-->fetch('#show', 'agent/lib/option_account.list')
-->display();