Commit 58953256 authored by jianghaiming's avatar jianghaiming

update:set

parent 6a70e9f4
......@@ -14,6 +14,7 @@ use App\Exception\custom\MarketingException;
use App\Services\common\CommonService;
use Api\PhpServices\Sensitive\Sensitive;
use App\Services\goods\GoodsService;
use Helpers\Aes;
class MarketingGoodsService
{
public static function getMarketingGoodsList($params)
......@@ -142,6 +143,10 @@ class MarketingGoodsService
$list[$i]['share_price'] = $firstCommission/100;
}
$content = $userId .'_' .$value['marketing_id'];
$goodsShareId = Aes::encrypt($content);
$list[$i]['distributor_code'] = $goodsShareId;
$i++;
}
......
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