Commit 7ecfbf57 authored by luhongguang's avatar luhongguang

Merge branch 'develop' of https://git.yidian-inc.com:8021/bp/goods into develop

parents ad7a2db8 a724aa39
......@@ -66,10 +66,6 @@ class Marketing extends MysqlBase
$colums = '*';
}
if (!empty($where['marketing_name'])) {
$where['marketing_name'] = $where['marketing_name'];
}
if (!empty($where)) {
$data = self::formatWhere($where);
}
......@@ -103,7 +99,8 @@ class Marketing extends MysqlBase
$data = [];
if (!empty($where['marketing_name'])) {
$data['marketing_name[~]'] = $where['marketing_name'];
//$data['marketing_name[~]'] = $where['marketing_name'];
$data['marketing_name'] = $where['marketing_name'];
}
if (!empty($where['marketing_id'])) {
......
......@@ -182,9 +182,9 @@ class DistributorService
}
$jwUserId = '';
if (empty($distributorCode)) {
throw new DistributorException(['cus'=>9]);
}
// if (empty($distributorCode)) {
// throw new DistributorException(['cus'=>9]);
// }
$info = Distributor::getRecord(['user_id' => $shareUserId]);
if (empty($info)) {
......
......@@ -65,7 +65,7 @@ class MarketingService
}
$goodsSkuList = GoodsSku::select('*', $where);
$lifeAccountIds = [];
if (!empty($goodsSkuList)) {
$lifeAccountIds = array_column($goodsSkuList, 'life_account_id');
......
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