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
089036d2
Commit
089036d2
authored
Apr 16, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
前端商铺库存判断
parent
e708fc00
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Agent.php
application/index/controller/Agent.php
+3
-3
house_template_tpl.html
public/resource/template/house_template_tpl.html
+1
-1
No files found.
application/index/controller/Agent.php
View file @
089036d2
...
@@ -339,9 +339,9 @@ class Agent extends Basic
...
@@ -339,9 +339,9 @@ class Agent extends Basic
$data
[
$k
][
'update_time'
]
=
$v
[
'modified'
];
/* 修改时间*/
$data
[
$k
][
'update_time'
]
=
$v
[
'modified'
];
/* 修改时间*/
$data
[
$k
][
'admin_off'
]
=
$v
[
'is_inside'
];
/*'0可以访问后台,1不可以'*/
$data
[
$k
][
'admin_off'
]
=
$v
[
'is_inside'
];
/*'0可以访问后台,1不可以'*/
$data
[
$k
][
'remarks'
]
=
''
;
/*'备注'*/
$data
[
$k
][
'remarks'
]
=
''
;
/*'备注'*/
$data
[
$k
][
'last_login_ip'
]
=
''
;
/* 'ip存入数字 php ip2long和long2ip转换'*/
//
$data[$k]['last_login_ip']='';/* 'ip存入数字 php ip2long和long2ip转换'*/
$data
[
$k
][
'last_login_time'
]
=
''
;
/*'最后登录时间'*/
//
$data[$k]['last_login_time']=''; /*'最后登录时间'*/
$data
[
$k
][
'quit_time'
]
=
''
;
/*'离职日期'*/
//
$data[$k]['quit_time']=''; /*'离职日期'*/
}
}
// var_dump($data);
// var_dump($data);
Db
::
table
(
"a_agents"
)
->
insertAll
(
$data
);
Db
::
table
(
"a_agents"
)
->
insertAll
(
$data
);
...
...
public/resource/template/house_template_tpl.html
View file @
089036d2
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
<
/td
>
<
/td
>
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
<
td
>
[
%
if
(
it
[
item
][
"
leased
"
]
==
0
)
{
%
]
[
%
if
(
it
[
item
][
"
residue_num
"
]
==
0
)
{
%
]
已租
已租
[
%
}
else
{
%
]
[
%
}
else
{
%
]
待租
待租
...
...
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