Commit f6bc854e authored by luhongguang's avatar luhongguang

update:tmp

parent c2fc4ee1
......@@ -2,10 +2,10 @@
namespace App\Services\tcc;
use Api\PhpUtils\Common\BaseConvert;
use App\Exception\custom\GoodsException;
use App\Models\goods\mysql\GoodsSku;
use App\Models\goods\mysql\Tcc;
use App\Models\marketing\mysql\Marketing;
class Tcc2Service
{
......@@ -26,10 +26,14 @@ class Tcc2Service
return self::TCC_RESULT_FAIL;
}
$isPindan = false;
foreach ($goodsInfoList as $item) {
if (empty($item["goods_sku_id"]) || empty($item["num"])) {
return self::TCC_RESULT_FAIL;
}
if (!empty($item["marketing_id"]) && !empty($item["marketing_type"]) && $item["marketing_type"] == Marketing::MARKETING_TYPE_PINDAN) {
$isPindan = true;
}
}
$tccInfo = self::getTccRecord($tid);
......@@ -80,6 +84,11 @@ class Tcc2Service
return self::TCC_RESULT_SUCCESS;
}
private static function generalGoodsTry()
{
}
/**
* 下单 商品tcc confirm
* @param $keys
......
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