diff --git a/app/portal/service/MobileService.php b/app/portal/service/MobileService.php index 27ec659..5944f1c 100644 --- a/app/portal/service/MobileService.php +++ b/app/portal/service/MobileService.php @@ -6,6 +6,7 @@ * Time: 10:57 */ namespace app\portal\service; +use app\portal\service; class MobileService{ /** * 百荣科技短信通知接口 @@ -35,7 +36,7 @@ class MobileService{ //REST版本号,在官网文档REST介绍中获得。 $softVersion = '2013-12-26'; - $rest = new REST($serverIP, $serverPort, $softVersion); + $rest = new \REST($serverIP, $serverPort, $softVersion); $rest->setAccount($accountSid, $accountToken); $rest->setAppId($appId);