Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
goods
Project
Project
Details
Activity
Releases
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
bp
goods
Commits
e88ff0f0
Commit
e88ff0f0
authored
Aug 05, 2021
by
suntengda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update 自提点相关接口
parent
bacdee3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
33 deletions
+0
-33
Takeplace.php
application/modules/Marketing/controllers/Takeplace.php
+0
-33
No files found.
application/modules/Marketing/controllers/Takeplace.php
View file @
e88ff0f0
...
@@ -5,9 +5,7 @@
...
@@ -5,9 +5,7 @@
* Time : 11:12 上午
* Time : 11:12 上午
*/
*/
use
Api\PhpUtils\Log\DaemonLog
;
use
App\Base\Base
;
use
App\Base\Base
;
use
App\Services\marketing\MarketingService
;
use
App\Services\marketing\TakePlaceService
;
use
App\Services\marketing\TakePlaceService
;
use
Validate\TakePlaceValidate
;
use
Validate\TakePlaceValidate
;
...
@@ -73,35 +71,4 @@ class TakePlaceController extends Base {
...
@@ -73,35 +71,4 @@ class TakePlaceController extends Base {
$this
->
success
([
'result'
=>
$data
]);
$this
->
success
([
'result'
=>
$data
]);
}
}
public
function
test_noticeAction
()
{
// if(date('H') != 16 || date('i')!= 40) {
// sleep(2);
// return false;
// }
//查询进行中的拼单活动
$params
[
'marketing_type'
]
=
4
;
//1分销 2团购 3秒杀 4团餐
$params
[
'online_status'
]
=
1
;
//状态 , 1启用,2关闭,3 到期
$params
[
'activity_status'
]
=
2
;
//1 未开始,2进行中,3已结束
$list
=
MarketingService
::
marketingList
(
$params
);
if
(
$list
[
'result'
]
&&
is_array
(
$list
[
'result'
]))
{
foreach
(
$list
[
'result'
]
as
$val
)
{
//看活动标题中是否有午餐
if
(
strpos
(
$val
[
'marketing_name'
],
'午餐'
))
{
}
}
}
//获取活动信息
//给订阅用户发送消息
DaemonLog
::
info
(
'DaemonServiceInterface_pindan'
,
json_encode
(
$orderInfoList
));
}
}
}
\ No newline at end of file
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