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
c92954b3
Commit
c92954b3
authored
Dec 11, 2017
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jquery 异步
parent
ab1d9c38
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
8 deletions
+10
-8
Shop.php
application/api/controller/Shop.php
+3
-1
Basic.php
application/api/extend/Basic.php
+3
-3
footer_tpl.html
application/index/view/global/footer_tpl.html
+2
-2
home.js
public/resource/js/home.js
+1
-1
main.js
public/resource/js/main.js
+1
-1
No files found.
application/api/controller/Shop.php
View file @
c92954b3
...
@@ -36,7 +36,9 @@ class Shop extends Basic
...
@@ -36,7 +36,9 @@ class Shop extends Basic
"area_end" => 65,//面积结束范围
"area_end" => 65,//面积结束范围
"money_start" => 1000,//租金 price2
"money_start" => 1000,//租金 price2
"money_end" => 10000,//租金
"money_end" => 10000,//租金
"shangpu_tags" => "临近地铁,"
"shangpu_tags" => "临近地铁,",
"pageNo" => "1",
"pageSize" => 15
);*/
);*/
$params
=
$this
->
params
;
$params
=
$this
->
params
;
$field
=
"id,agent_id,title,address,city,disc,disccircles,sales,yetai,room_area2,shangpu_type,is_test,
$field
=
"id,agent_id,title,address,city,disc,disccircles,sales,yetai,room_area2,shangpu_type,is_test,
...
...
application/api/extend/Basic.php
View file @
c92954b3
...
@@ -41,10 +41,10 @@ class Basic extends Controller
...
@@ -41,10 +41,10 @@ class Basic extends Controller
*/
*/
public
function
__construct
(
Request
$request
=
null
)
public
function
__construct
(
Request
$request
=
null
)
{
{
ob_start
();
/*
ob_start();
ob_end_flush();
ob_end_flush();
ob_end_clean();
ob_end_clean();
ob_get_contents
();
ob_get_contents();
*/
// CORS 跨域 Options 检测响应
// CORS 跨域 Options 检测响应
...
@@ -58,7 +58,7 @@ class Basic extends Controller
...
@@ -58,7 +58,7 @@ class Basic extends Controller
}
elseif
(
strtoupper
(
$this
->
request
->
method
())
===
"POST"
)
{
}
elseif
(
strtoupper
(
$this
->
request
->
method
())
===
"POST"
)
{
$this
->
params
=
$this
->
request
->
getContent
()
!=
null
?
json_decode
(
$this
->
request
->
getContent
(),
true
)
:
null
;
$this
->
params
=
$this
->
request
->
param
()
!=
null
?
$this
->
request
->
param
(
)
:
null
;
}
}
...
...
application/index/view/global/footer_tpl.html
View file @
c92954b3
<script
src=
'/resource/lib/js/require.min.js'
data-main=
'/resource/js/main?version=25'
charset=
'utf-8'
></script>
<script
src=
'/resource/lib/js/require.min.js'
data-main=
'/resource/js/main?version=2225'
charset=
'utf-8'
></script>
\ No newline at end of file
\ No newline at end of file
public/resource/js/home.js
View file @
c92954b3
/**
/**
* Created by 刘丹 on 2017/12/11.
* Created by 刘丹 on 2017/12/11.
*/
*/
define
([
'css!style/home.cs
s'
],
function
()
{
define
([
'css!style/home.css'
,
'bootstrapJ
s'
],
function
()
{
var
home
=
{
var
home
=
{
urls
:
''
,
urls
:
''
,
init
:
function
()
{
init
:
function
()
{
...
...
public/resource/js/main.js
View file @
c92954b3
...
@@ -39,4 +39,4 @@ require.config ({
...
@@ -39,4 +39,4 @@ require.config ({
}
}
});
});
require
([
'require'
,
'jquery'
,
'doT'
,
'app/public'
,
'
bootstrapJs'
,
'
css!style/bootstrap.css'
,
'css!style/public.css'
]);
require
([
'require'
,
'jquery'
,
'doT'
,
'app/public'
,
'css!style/bootstrap.css'
,
'css!style/public.css'
]);
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