|
|
@@ -343,6 +343,7 @@ class DouYinService
|
|
|
try {
|
|
|
$params['external_platform_id'] = self::EXTERNAL_PLATFORM_ID;
|
|
|
// order_id goods total_amount discount cp_extra create_order_time phone_num contact_name open_id
|
|
|
+ $params['cp_extra'] = json_decode($params['cp_extra'], true);
|
|
|
$user_id = $params['cp_extra']['user_id'];
|
|
|
$user = User::where('id',$user_id)->findOrEmpty();
|
|
|
if($params['cp_extra']['douyinOrderId']>0){ // 说明是尾款单
|