Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
2ee0bb29
Commit
2ee0bb29
authored
Jan 25, 2018
by
clone
Committed by
hujun
Mar 01, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合并test
parent
3634c3c1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
60 additions
and
0 deletions
+60
-0
FollowUp.php
application/api_broker/controller/FollowUp.php
+33
-0
Auth.php
application/index/controller/Auth.php
+27
-0
No files found.
application/api_broker/controller/FollowUp.php
0 → 100644
View file @
2ee0bb29
<?php
use
app\api_broker\extend\Basic
;
/**
* Created by PhpStorm.
* User : zw
* Date : 2018/1/24
* Time : 14:24
* Intro:
*/
class
FollowUp
extends
Basic
{
public
function
__construct
(
$request
=
null
)
{
parent
::
__construct
(
$request
);
}
/**
* 报备
*/
public
function
report
(){
$params
=
$this
->
params
;
$params
=
array
(
"user_id"
=>
1
,
"shop_ids"
=>
"1,2,3"
,
""
);
$this
->
response
(
"200"
,
"request success"
,[]);
}
}
\ No newline at end of file
application/index/controller/Auth.php
View file @
2ee0bb29
...
...
@@ -208,6 +208,33 @@ class Auth extends Basic
// echo $group_id;
// exit;
if
(
$this
->
request
->
isPost
())
{
=======
public
function
test
(){
// $this->authRuleModel = new AuthRule();
// dump($this->authRuleModel);die;
// $list= $this->authRuleModel->find();
// return $this->response(200, '', $list);
}
/**
* 权限分配
* @param integer $group_id 组ID
* @return [type] [description]
* @date 2018-01-22
* @author zfc
*/
public
function
accessLook
(
$group_id
=
0
){
$table
=
New
AuthGroup
();
$table2
=
New
AuthRule
();
$data
[
'title'
]
=
'权限分配'
;
// echo $group_id;
// exit;
if
(
IS_POST
&&
$group_id
=
0
)
{
>>>>>>>
8e62
fd6
...
合并test
//添加or修改
$data
[
'id'
]
=
$group_id
;
$menu_auth
=
input
(
'post.menu_auth/a'
,
''
);
//获取所有授权菜单id
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment