12345678910111213141516171819202122 |
- <?php
- namespace Qcloud_cos;
- class Conf
- {
- const PKG_VERSION = 'v3.3';
- const API_IMAGE_END_POINT = 'http://web.image.myqcloud.com/photos/v1/';
- const API_VIDEO_END_POINT = 'http://web.video.myqcloud.com/videos/v1/';
- const API_COSAPI_END_POINT = 'http://web.file.myqcloud.com/files/v1/';
- //请到http://console.qcloud.com/cos去获取你的appid、sid、skey
- const APPID = '10048642';
- const SECRET_ID = 'AKIDLKf4URlfwp0NZtzu7HQBOHpUQ23QAWO6';
- const SECRET_KEY = 'J05bM3PVp0YoNGUbj4d0BvjC2TZzBy6T';
- public static function getUA() {
- return 'cos-php-sdk-'.self::PKG_VERSION;
- }
- }
- //end of script
|