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
ecccbecf
Commit
ecccbecf
authored
Feb 06, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
门店添加修改
parent
bb3923bb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Store.php
application/index/controller/Store.php
+3
-0
AStore.php
application/model/AStore.php
+1
-1
No files found.
application/index/controller/Store.php
View file @
ecccbecf
...
@@ -14,6 +14,9 @@ use app\model\AStore;
...
@@ -14,6 +14,9 @@ use app\model\AStore;
class
Store
extends
Basic
class
Store
extends
Basic
{
{
protected
$data
;
protected
$code
=
200
;
protected
$msg
=
''
;
/**
/**
* @return \think\response\View
* @return \think\response\View
*/
*/
...
...
application/model/AStore.php
View file @
ecccbecf
...
@@ -38,7 +38,7 @@ class AStore extends BaseModel
...
@@ -38,7 +38,7 @@ class AStore extends BaseModel
if
(
$data
[
'id'
]
==
''
)
{
if
(
$data
[
'id'
]
==
''
)
{
$store_data
[
'create_time'
]
=
date
(
'Y-m-d H:i:s'
);
$store_data
[
'create_time'
]
=
date
(
'Y-m-d H:i:s'
);
$this
->
save
(
$store_data
);
$
resutlt
=
$
this
->
save
(
$store_data
);
$agents_data
[
'store_id'
]
=
$this
->
id
;
$agents_data
[
'store_id'
]
=
$this
->
id
;
$agents_data
[
'level'
]
=
20
;
$agents_data
[
'level'
]
=
20
;
...
...
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