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
3447c5cc
Commit
3447c5cc
authored
Feb 27, 2018
by
zfc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后台url接口问题
parent
4be37874
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
6 deletions
+8
-6
Client.php
application/api_broker/controller/Client.php
+3
-1
route.php
application/route.php
+2
-2
agent.js
public/resource/js/agent.js
+1
-1
auth.js
public/resource/js/auth.js
+1
-1
auth_rule_index.js
public/resource/js/auth_rule_index.js
+1
-1
No files found.
application/api_broker/controller/Client.php
View file @
3447c5cc
...
...
@@ -3,7 +3,6 @@
namespace
app\api_broker\controller
;
use
app\api_broker\extend\Basic
;
use
app\index\controller\Agent
;
use
app\model\Agents
;
use
app\model\Users
;
use
app\model\UPhoneFollowPp
;
...
...
@@ -41,6 +40,7 @@ class Client extends Basic
* @throws \think\exception\DbException
*/
public
function
editClient
()
{
header
(
'Access-Control-Allow-Origin:*'
);
if
(
$this
->
params
[
'user_nick'
]
||
$this
->
params
[
'user_nick'
]
||
$this
->
params
[
'id'
])
{
if
(
$this
->
request
->
isPost
())
{
if
(
$this
->
params
[
'id'
])
{
...
...
@@ -60,6 +60,7 @@ class Client extends Basic
$this
->
msg
=
'user_nick or user_phone or id is null'
;
}
return
$this
->
response
(
$this
->
code
,
$this
->
msg
,
$this
->
data
);
}
/**经纪人搜索
...
...
@@ -69,6 +70,7 @@ class Client extends Basic
* @throws \think\exception\DbException
*/
public
function
agentSearch
(){
header
(
'Access-Control-Allow-Origin:*'
);
$table
=
new
Agents
;
$data
[
'msg'
]
=
''
;
$params
=
$this
->
request
->
param
();
...
...
application/route.php
View file @
3447c5cc
...
...
@@ -138,8 +138,8 @@ Route::group('index', [
'lable'
=>
[
'index/label/index'
,[
'method'
=>
'get'
]],
//标签列表
//数据统计
'RemarkFollowIndex'
=>
[
'index/
R
emark/RemarkFollowIndex'
,[
'method'
=>
'get'
]],
//跟进列表主界面
'RemarkFollowList'
=>
[
'index/
R
emark/RemarkFollowList'
,[
'method'
=>
'get'
]],
//跟进列表【接口】
'RemarkFollowIndex'
=>
[
'index/
r
emark/RemarkFollowIndex'
,[
'method'
=>
'get'
]],
//跟进列表主界面
'RemarkFollowList'
=>
[
'index/
r
emark/RemarkFollowList'
,[
'method'
=>
'get'
]],
//跟进列表【接口】
'phone_list'
=>
[
'index/Phone/index'
,[
'method'
=>
'get'
]],
//隐私号码列表
'bindPhoneList'
=>
[
'index/Phone/bindPhoneList'
,[
'method'
=>
'get'
]],
//绑定的隐私号码列表
'edit_aliYunPhone'
=>
[
'index/Phone/edit_aliYunPhone'
,[
'method'
=>
'get|post'
]],
//新增或编辑中间号
...
...
public/resource/js/agent.js
View file @
3447c5cc
...
...
@@ -130,7 +130,7 @@ define (['doT', 'text!temp/agent_template_tpl.html', 'css!style/home.css','pagin
Edit
:
function
(){
//获取
$
.
ajax
({
'type'
:
'GET'
,
'url'
:
'/index/saveAgent
/group_id/
'
,
//获取编辑数据
'url'
:
'/index/saveAgent'
,
//获取编辑数据
data
:
{
"id"
:
agent
.
house_id
},
dataType
:
"json"
,
success
:
function
(
data
)
{
...
...
public/resource/js/auth.js
View file @
3447c5cc
...
...
@@ -67,7 +67,7 @@ define (['doT', 'text!temp/auth_template_tpl.html', 'css!style/home.css','pagina
Edit
:
function
(){
//获取
$
.
ajax
({
'type'
:
'GET'
,
'url'
:
'/index/addAuth
/
'
,
//获取编辑数据
'url'
:
'/index/addAuth'
,
//获取编辑数据
data
:
{
"id"
:
auth
.
house_id
},
dataType
:
"json"
,
success
:
function
(
data
){
...
...
public/resource/js/auth_rule_index.js
View file @
3447c5cc
...
...
@@ -76,7 +76,7 @@ authRule={
Edit
:
function
(){
//获取
$
.
ajax
({
'type'
:
'GET'
,
'url'
:
'/index/updateAuthRule
/
'
,
//获取编辑数据
'url'
:
'/index/updateAuthRule'
,
//获取编辑数据
data
:
{
"id"
:
authRule
.
house_id
},
dataType
:
"json"
,
success
:
function
(
data
)
{
...
...
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