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
2725f47a
Commit
2725f47a
authored
May 23, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
INT
parent
381d195b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
Finance.php
application/index/controller/Finance.php
+8
-0
HouseService.php
application/index/service/HouseService.php
+2
-0
ImageDepotService.php
application/index/service/ImageDepotService.php
+2
-1
No files found.
application/index/controller/Finance.php
View file @
2725f47a
...
...
@@ -1552,6 +1552,14 @@ class Finance extends Basic
$add_arr
[
$j
][
'confirm_date'
]
=
date
(
"Y-m-d H:i:s"
,
time
());
$add_arr
[
$j
][
'confirm_status'
]
=
1
;
if
(
empty
(
$user_id
)
&&
$this
->
params
[
'report_id'
])
{
$user_id
=
$m_report
->
getFieldValue
(
'user_id'
,[
'id'
=>
$this
->
params
[
'report_id'
]]);
if
(
$user_id
)
{
$service
=
new
ConvertCouponService
();
$service
->
convertCoupon
(
$user_id
,
$bargain_data
[
'report_id'
],
$this
->
params
[
'bargain_id'
],
$bargain_data
[
'order_id'
]);
//核销红包
}
}
}
$j
++
;
...
...
application/index/service/HouseService.php
View file @
2725f47a
...
...
@@ -486,11 +486,13 @@ class HouseService
}
foreach
(
$agent_id_arr
as
$val
)
{
if
((
int
)
$val
>
0
)
{
$save_data
[
$count
][
'agents_id'
]
=
$val
;
$save_data
[
$count
][
'houses_id'
]
=
$house_id
;
$save_data
[
$count
][
'type'
]
=
$type
;
$count
++
;
}
}
$this
->
agent_house
->
updateUserAll
(
$save_data
);
if
(
$type
==
2
)
{
...
...
application/index/service/ImageDepotService.php
View file @
2725f47a
...
...
@@ -22,9 +22,10 @@ class ImageDepotService
* 获取随机图片
* @param int $img_type 图片类型:0室外图 ,1室内图 ,2人群图
* @param string $label 标签
* @param string $not_in_id 排除之前获取过的图片
* @return array|false|\PDOStatement|string|\think\Collection
*/
public
function
getImageWidthRand
(
$img_type
=
0
,
$label
=
'商场美食'
,
$not_in_id
)
public
function
getImageWidthRand
(
$img_type
=
0
,
$label
=
'商场美食'
,
$not_in_id
=
''
)
{
$params_
[
'img_status'
]
=
0
;
if
(
!
empty
(
$not_in_id
))
{
...
...
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