Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; APIId has a deprecated constructor in D:\phpstudy_pro\www\umeng\com\alibaba\openapi\client\APIId.class.php on line 2|
这个报错的原因是 PHP7 不再支持与类名相同的构造方法,构造方法统一使用 __construct(), 比如下面的写法 PHP7 就会报这个错误
为__construct即可

改为

就好了