Commit 4ef0efd7 authored by suntengda's avatar suntengda

update 自提点默认按生活号id筛选条件

parent 26df326e
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
namespace App\Models\marketing\mysql; namespace App\Models\marketing\mysql;
use Api\PhpUtils\Mysql\MysqlBase; use Api\PhpUtils\Mysql\MysqlBase;
use App\Services\marketing\MarketingService;
/** /**
* 自提点 * 自提点
...@@ -25,7 +26,7 @@ class TakePlace extends MysqlBase ...@@ -25,7 +26,7 @@ class TakePlace extends MysqlBase
*/ */
public static function searchList($params) public static function searchList($params)
{ {
$lifeAccountId = $params['life_account_id'] ?? 0; $lifeAccountId = $params['life_account_id'] ?? MarketingService::getPublicLifeAccountId();
$keywords = $params['keywords'] ?? ''; $keywords = $params['keywords'] ?? '';
$offset = $params['offset'] ?? 0; $offset = $params['offset'] ?? 0;
$limit = $params['limit'] ?? 20; $limit = $params['limit'] ?? 20;
......
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