Server : Apache System : Linux iZ2vcgyutqttsd1p850kl8Z 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01 UTC 2023 x86_64 User : www ( 1000) PHP Version : 5.6.40 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv Directory : /www/wwwroot/saimikebio.com/plugins/kuaidi100/ |
<?php // 快递100查询接口专用KEY,申请KEY地址:http://www.kuaidi100.com/openapi/ $kuaidi100key = "b0c887c349f3d126"; /* 提示:如果您需要的公司不在以下列表,请按以下方法自行添加或修改,快递公司名称区分大小写 case "与【shopex后台-商店配置-物流公司】下的公司名称一致": $postcom '中的名称与【http://code.google.com/p/kuaidi-api/wiki/Open_API_API_URL】下的【快递公司代码】一致’; */ switch ($getcom){ case "EMS"://ecshop后台中显示的快递公司名称 $postcom = 'ems';//快递公司代码 break; case "中国邮政": $postcom = 'ems'; break; case "申通快递": $postcom = 'shentong'; break; case "圆通速递": $postcom = 'yuantong'; break; case "顺丰速运": $postcom = 'shunfeng'; break; case "天天快递": $postcom = 'tiantian'; break; case "韵达快递": $postcom = 'yunda'; break; case "中通速递": $postcom = 'zhongtong'; break; case "龙邦物流": $postcom = 'longbanwuliu'; break; case "宅急送": $postcom = 'zhaijisong'; break; case "全一快递": $postcom = 'quanyikuaidi'; break; case "汇通速递": $postcom = 'huitongkuaidi'; break; case "百世汇通": $postcom = 'huitongkuaidi'; break; case "民航快递": $postcom = 'minghangkuaidi'; break; case "亚风速递": $postcom = 'yafengsudi'; break; case "快捷速递": $postcom = 'kuaijiesudi'; break; case "华宇物流": $postcom = 'tiandihuayu'; break; case "中铁快运": $postcom = 'zhongtiewuliu'; break; case "FedEx": $postcom = 'fedex'; break; case "UPS": $postcom = 'ups'; break; case "DHL": $postcom = 'dhl'; break; default: $postcom = ''; }