更新
This commit is contained in:
parent
0efcdfc7d2
commit
7182edcb14
@ -2570,7 +2570,7 @@ class StoreOrderRepository extends BaseRepository
|
|||||||
} else {
|
} else {
|
||||||
//默认其他分类
|
//默认其他分类
|
||||||
$cate_id = 1726;
|
$cate_id = 1726;
|
||||||
$spec_type = 1;
|
$spec_type = 0;
|
||||||
$detail = $attr;
|
$detail = $attr;
|
||||||
|
|
||||||
/**查询平台分类 */
|
/**查询平台分类 */
|
||||||
@ -2697,6 +2697,8 @@ class StoreOrderRepository extends BaseRepository
|
|||||||
"mer_status" => 1,
|
"mer_status" => 1,
|
||||||
"rate" => 3,
|
"rate" => 3,
|
||||||
];
|
];
|
||||||
|
halt($datas);
|
||||||
|
|
||||||
$make = app()->make(ProductRepository::class);
|
$make = app()->make(ProductRepository::class);
|
||||||
$product_id = $make->create($datas, $product_type);
|
$product_id = $make->create($datas, $product_type);
|
||||||
if ($product_id) {
|
if ($product_id) {
|
||||||
@ -2747,6 +2749,7 @@ class StoreOrderRepository extends BaseRepository
|
|||||||
$attrValue['price'] = $datum['value']['price'];
|
$attrValue['price'] = $datum['value']['price'];
|
||||||
$attrValue['procure_price'] = $procure_price;
|
$attrValue['procure_price'] = $procure_price;
|
||||||
$attrValue["image"] = "https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/oa_app/23565656.png";
|
$attrValue["image"] = "https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/oa_app/23565656.png";
|
||||||
|
Db::name('store_product')->where('product_id',$find['product_id'])->update(['spec_type'=>1]);
|
||||||
Db::name('store_product_attr_value')->insert($attrValue);
|
Db::name('store_product_attr_value')->insert($attrValue);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
@ -38,6 +38,9 @@ class CacheRepository extends BaseRepository
|
|||||||
const CONSIGN_PRODUCT_AGREE = 'consign_product_agree';
|
const CONSIGN_PRODUCT_AGREE = 'consign_product_agree';
|
||||||
//商户开通采购、交易及结算功能协议
|
//商户开通采购、交易及结算功能协议
|
||||||
const MERC_SETTLE_AGREE = 'mer_settlement_agree';
|
const MERC_SETTLE_AGREE = 'mer_settlement_agree';
|
||||||
|
|
||||||
|
//生鲜类商品交易售后纠纷处理规则
|
||||||
|
const FRESHRULES = 'fresh_rules';
|
||||||
|
|
||||||
//积分说明
|
//积分说明
|
||||||
const INTEGRAL_RULE = 'sys_integral_rule';
|
const INTEGRAL_RULE = 'sys_integral_rule';
|
||||||
@ -91,6 +94,7 @@ class CacheRepository extends BaseRepository
|
|||||||
['label' => '供应链商户补充协议','key' => self::MERC_SUPPLY_AGREE],
|
['label' => '供应链商户补充协议','key' => self::MERC_SUPPLY_AGREE],
|
||||||
['label' => '产品代销三方合作协议书', 'key' => self::CONSIGN_PRODUCT_AGREE],
|
['label' => '产品代销三方合作协议书', 'key' => self::CONSIGN_PRODUCT_AGREE],
|
||||||
['label' => '商户开通采购、交易及结算功能协议', 'key' => self::MERC_SETTLE_AGREE],
|
['label' => '商户开通采购、交易及结算功能协议', 'key' => self::MERC_SETTLE_AGREE],
|
||||||
|
['label' => '生鲜类商品交易售后纠纷处理规则', 'key' => self::FRESHRULES],
|
||||||
];
|
];
|
||||||
if (!$type) {
|
if (!$type) {
|
||||||
$data[] = ['label' => '注销声明', 'key' => self::CANCELLATION_MSG];
|
$data[] = ['label' => '注销声明', 'key' => self::CANCELLATION_MSG];
|
||||||
@ -125,6 +129,7 @@ class CacheRepository extends BaseRepository
|
|||||||
self::MERC_SUPPLY_AGREE,
|
self::MERC_SUPPLY_AGREE,
|
||||||
self::CONSIGN_PRODUCT_AGREE,
|
self::CONSIGN_PRODUCT_AGREE,
|
||||||
self::MERC_SETTLE_AGREE,
|
self::MERC_SETTLE_AGREE,
|
||||||
|
self::FRESHRULES,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ return [
|
|||||||
\crmeb\listens\AutoUnLockBrokerageListen::class,
|
\crmeb\listens\AutoUnLockBrokerageListen::class,
|
||||||
\crmeb\listens\AutoSendPayOrderSmsListen::class,
|
\crmeb\listens\AutoSendPayOrderSmsListen::class,
|
||||||
\crmeb\listens\SyncSmsResultCodeListen::class,
|
\crmeb\listens\SyncSmsResultCodeListen::class,
|
||||||
\crmeb\listens\SyncBroadcastStatusListen::class,
|
// \crmeb\listens\SyncBroadcastStatusListen::class,直播间
|
||||||
\crmeb\listens\ExcelFileDelListen::class,
|
\crmeb\listens\ExcelFileDelListen::class,
|
||||||
\crmeb\listens\RefundOrderAgreeListen::class,
|
\crmeb\listens\RefundOrderAgreeListen::class,
|
||||||
\crmeb\listens\SeckillTImeCheckListen::class,
|
\crmeb\listens\SeckillTImeCheckListen::class,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user