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
bf6c294b
Commit
bf6c294b
authored
Jun 03, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
664fbf84
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
OfficeService.php
application/index/service/OfficeService.php
+4
-3
No files found.
application/index/service/OfficeService.php
View file @
bf6c294b
...
@@ -43,10 +43,11 @@ class OfficeService
...
@@ -43,10 +43,11 @@ class OfficeService
$result
[
'msg'
]
=
''
;
$result
[
'msg'
]
=
''
;
$result
[
'data'
]
=
[];
$result
[
'data'
]
=
[];
if
(
isset
(
$data
[
'id'
]))
{
if
(
empty
(
$data
[
'id'
]))
{
$scene
=
'edit'
;
}
else
{
$scene
=
'add'
;
$scene
=
'add'
;
}
else
{
$scene
=
'edit'
;
$data
[
'upload_id'
]
=
$agent_id
;
}
}
$check
=
$this
->
validate
->
scene
(
$scene
)
->
check
(
$data
);
$check
=
$this
->
validate
->
scene
(
$scene
)
->
check
(
$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