User Profile

User's Address,Order,Post etc.

Signup time:2022.12.05 21:10:19

Showing 5 out of total 126

速卖通欧盟一站式服务号(IOSS)在哪里找?
Author : Anonymous Publish Time : 08 Dec 2023 19:12:00

我有一票100欧元左右的订单用的速卖通的线上的UPS物流发的,发的时候就很疑惑,订单是平台代收税的,有点担心会被二次征税,于是就找速卖通客服问,问来问去,速卖通的客服换了好几个,物流的客服又问了好几个,客服之间总是踢来踢去的,最后含含糊糊的告诉我平台会把IOSS号“传递”给物流,我一想都是线上发货的也合理,就直接发走了,后来你懂的,和我想得一样,快递要客户交40欧元左右的税,非常不满意,差点给我拒收了,还好与客户有点来往,留情了,当然损失的是我。

 

速卖通这么大的公司,整个公司都在吃老底,混日子,失望

 

包裹到欧盟进口申报时提供速卖通平台的IOSS号(平台一站式服务编号)证明平台已代收代缴相关商品的增值税,并申报正确的货物价值(不应超过150欧元),避免商品在进口时被海关二次征税。

速卖通的ISSO在哪里寻找?

目前在商家后台->资金->VAT协助信息那里就可以找到,当然只针对150欧以下的小单,欧盟通用

 

  • 速卖通欧盟一站式服务号(IOSS)在哪里找?
Could not find an option named "no-sound-null-safety".
Author : Anonymous Publish Time : 03 Dec 2023 11:25:17

remove --no-sound-null-safety in lauch.json of vs code

 

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Flutter",
            "type": "dart",
            "request": "launch",
            "program": "lib/main.dart",
            "args": [
                "--no-sound-null-safety"
            ]
        }
    ]
}
周深出场费现在是多少2023年11月
Author : Anonymous Publish Time : 23 Nov 2023 17:15:19

周深出场费现在是多少2023年11月

据说已经300万了,已经算比较高的水平了,

yii3 如何像yii2 advanced demo一样前端和后台一起开发?
Author : Anonymous Publish Time : 23 Nov 2023 02:36:09

没错,虽然Yii3过了好几年还没有开发出来,我们已经早早的上车了,哈哈,演示程序

https://www.tianex.com

由于我们是最先上车的,开发过程中也是有点小技巧,按照下面的方法可以把几个apps在一起开发,这样可以加快开发速度,部署的时候可以按照需要分开独立部署,(我不清除部署在一起会不会比较耗资源)

 

if you want to  develop multiple yii3 apps in the same folder,just like yii2 advance demo

we have a solution

the idea is filter the url accessed  to the different app(instance) and load different config files

1. move the yii3 demo config files to a subfolder of config ,maybe frontend

if you want to add backend just copy frontend files to backend

if you need the app frontend and backend ,the config should includ 2 subfolders 

config/frontend, config/backend

and modify the .merge-plan.php file in each app config folder

from  

return [
    '/' => [

to 

return [
    '/frontend (or othe app name)' => [

make sure it can load the right vender libs

 

2.modify the public/index.php to forward access to the different apps,

such as https://www.tianexcom/backend to load config/backend config files,

$request_uri = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);

$_ENV['YII_ENV'] = '/frontend';
 
if (!empty($request_uri)) {
    if (str_starts_with($request_uri, '/backend')) {
        $_ENV['YII_ENV'] = '/backend';

}

 

to do this, you also need to mody the 

vendor\yiisoft\yii-runner\src\ApplicationRunner.php
 protected function createDefaultConfig(): Config
    {
        return ConfigFactory::create(new ConfigPaths($this->rootPath, 'config'.$this->environment), $this->environment);
    }

 

 

how to fix php 8.1.2 GD image resize rotation problem imagecopyresampled
Author : Anonymous Publish Time : 11 Nov 2023 02:12:46

when upload image and resize images to server, 

some images was rotated by mistake, why the original image is right but the resize image is rotated ?

this was happened when we upload the images which was rotated from the  windows OS 

when we use imagecopyresampled  to generate the resized images, the rotation information was lost (or is the original 'Orientation' when the picture was taken)

so we should use 

 

$exif = exif_read_data($sourceImg);

        if (!empty($exif['Orientation'])) {
            switch ($exif['Orientation']) {
                case 8:
                    $thumb = imagerotate($thumb, 90, 0);
                    break;
                case 3:
                    $thumb = imagerotate($thumb, 180, 0);
                    break;
                case 6:
                    $thumb = imagerotate($thumb, -90, 0);
                    break;
            }
        }
 
to check the 'Orientation'  and rotated it to right  before generate samall images (using 
imagewebp or other format