Commit e88ff0f0 authored by suntengda's avatar suntengda

update 自提点相关接口

parent bacdee3d
......@@ -5,9 +5,7 @@
* Time : 11:12 上午
*/
use Api\PhpUtils\Log\DaemonLog;
use App\Base\Base;
use App\Services\marketing\MarketingService;
use App\Services\marketing\TakePlaceService;
use Validate\TakePlaceValidate;
......@@ -73,35 +71,4 @@ class TakePlaceController extends Base {
$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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment