|
|
@ -3624,8 +3624,6 @@ class InsurerController extends BaseController |
|
|
|
->save(Yii::getAlias($imgstr)); |
|
|
|
->save(Yii::getAlias($imgstr)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
echo time();die(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$gift_src = str_replace('@frontend/web', '', $imgstr); |
|
|
|
$gift_src = str_replace('@frontend/web', '', $imgstr); |
|
|
|
//保存order_gift_t表里png文件地址 |
|
|
|
//保存order_gift_t表里png文件地址 |
|
|
|
|
|
|
|
|
|
|
@ -3634,6 +3632,7 @@ class InsurerController extends BaseController |
|
|
|
if(!$order_gift_info->save()) { |
|
|
|
if(!$order_gift_info->save()) { |
|
|
|
throw new \Exception(print_r($order_gift_info->getErrors(), true)); |
|
|
|
throw new \Exception(print_r($order_gift_info->getErrors(), true)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
echo time(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|