*
Showing
5 changed files
with
516 additions
and
41 deletions
app/Helper/CosHelper.php
0 → 100644
| 1 | <?php | ||
| 2 | |||
| 3 | |||
| 4 | namespace App\Helper; | ||
| 5 | |||
| 6 | |||
| 7 | use Illuminate\Support\Str; | ||
| 8 | use Qcloud\Cos\Client; | ||
| 9 | |||
| 10 | class CosHelper | ||
| 11 | { | ||
| 12 | protected $client; | ||
| 13 | protected $bucket; | ||
| 14 | |||
| 15 | public function __construct() | ||
| 16 | { | ||
| 17 | $secretId = env('COS_SECRET_ID'); //"云 API 密钥 SecretId"; | ||
| 18 | $secretKey = env('COS_SECRET_KEY'); //"云 API 密钥 SecretKey"; | ||
| 19 | $region = env('COS_REGION'); //设置一个默认的存储桶地域 | ||
| 20 | $cosClient = new Client( | ||
| 21 | array( | ||
| 22 | 'region' => $region, | ||
| 23 | 'schema' => 'https', //协议头部,默认为http | ||
| 24 | 'credentials'=> array( | ||
| 25 | 'secretId' => $secretId , | ||
| 26 | 'secretKey' => $secretKey))); | ||
| 27 | |||
| 28 | $this->client = $cosClient; | ||
| 29 | $this->bucket = env('COS_BUCKET'); | ||
| 30 | } | ||
| 31 | |||
| 32 | /** | ||
| 33 | * 预览文档 ———— 同步转换为html | ||
| 34 | * @param string $key | ||
| 35 | * @param int $expire | ||
| 36 | * @return string | ||
| 37 | */ | ||
| 38 | public function getPreviewUrl(string $key, int $expire = 10) : string | ||
| 39 | { | ||
| 40 | $url = $this->client->getObjectUrl($this->bucket, $key, "+{$expire}minutes"); | ||
| 41 | return $url; | ||
| 42 | // return $url . "ci-process=doc-preview&dstType=html"; | ||
| 43 | } | ||
| 44 | |||
| 45 | } |
| ... | @@ -2,10 +2,12 @@ | ... | @@ -2,10 +2,12 @@ |
| 2 | 2 | ||
| 3 | namespace App\Services; | 3 | namespace App\Services; |
| 4 | 4 | ||
| 5 | use App\Helper\CosHelper; | ||
| 5 | use App\Helper\Response; | 6 | use App\Helper\Response; |
| 6 | use App\Models\Legal\Contract; | 7 | use App\Models\Legal\Contract; |
| 7 | use App\Models\Legal\StakeholderContract; | 8 | use App\Models\Legal\StakeholderContract; |
| 8 | use App\Models\Legal\Treaty; | 9 | use App\Models\Legal\Treaty; |
| 10 | use Qcloud\Cos\Client; | ||
| 9 | 11 | ||
| 10 | /** | 12 | /** |
| 11 | * Class MusicianAgreementService | 13 | * Class MusicianAgreementService |
| ... | @@ -18,17 +20,24 @@ class MusicianAgreementService extends Service | ... | @@ -18,17 +20,24 @@ class MusicianAgreementService extends Service |
| 18 | */ | 20 | */ |
| 19 | public function treatyList() | 21 | public function treatyList() |
| 20 | { | 22 | { |
| 21 | $res = Treaty::query()->whereIn('party_b', $this->stakeholder_ids)->where('deadline_date', '>', $this->now)->with(['file:id,treaty_id,file_id', 'file.fileInfo:id,location']) | 23 | $res = Treaty::query()->whereIn('party_b', $this->stakeholder_ids)->where('deadline_date', '>', $this->now)->with(['file:id,treaty_id,file_id', 'file.fileInfo:id,key']) |
| 22 | ->select(['id', 'treaty_name', 'treaty_type', 'service_type', 'deadline_date', 'music_no'])->orderByDesc('created_at')->paginate($this->pageSize); | 24 | ->select(['id', 'treaty_name', 'treaty_type', 'service_type', 'deadline_date', 'music_no'])->orderByDesc('created_at')->paginate($this->pageSize); |
| 23 | 25 | ||
| 26 | $client = new CosHelper(); | ||
| 27 | |||
| 24 | foreach ($res as &$item) { | 28 | foreach ($res as &$item) { |
| 25 | $item_res = $item->toArray(); | 29 | $item_res = $item->toArray(); |
| 26 | $files = []; | 30 | $files = []; |
| 27 | if (!empty($item_res['file'])) { | 31 | if (!empty($item_res['file'])) { |
| 28 | foreach ($item_res['file'] as $file_item) { | 32 | foreach ($item_res['file'] as $file_item) { |
| 29 | !empty($file_item['file_info']['location']) && $files[] = $file_item['file_info']['location']; | 33 | !empty($file_item['file_info']['key']) && $files[] = $file_item['file_info']['key']; |
| 30 | } | 34 | } |
| 31 | } | 35 | } |
| 36 | |||
| 37 | foreach ($files as &$file) { | ||
| 38 | $file = $client->getPreviewUrl($file); | ||
| 39 | } | ||
| 40 | |||
| 32 | $item->setAttribute('files', $files); | 41 | $item->setAttribute('files', $files); |
| 33 | unset($item->file); | 42 | unset($item->file); |
| 34 | } | 43 | } | ... | ... |
| ... | @@ -48,43 +48,6 @@ class MusicianWithdrawService extends Service | ... | @@ -48,43 +48,6 @@ class MusicianWithdrawService extends Service |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | /** | 50 | /** |
| 51 | * 修改提现状态 | ||
| 52 | * @return \Illuminate\Http\JsonResponse|mixed | ||
| 53 | */ | ||
| 54 | public function changeStatus() | ||
| 55 | { | ||
| 56 | $withdraw_status = ''; | ||
| 57 | |||
| 58 | $query = StakeholderIncomeSyncAppDetails::query()->where(['sync_status'=>1, 'identifier'=>$this->identifier->identifier]) | ||
| 59 | ->whereIn('serial_no', $this->request->input('busi_id')); | ||
| 60 | |||
| 61 | switch ($this->request->input('type')) { | ||
| 62 | case 'confirm': //已确认 | ||
| 63 | $withdraw_status = 1; | ||
| 64 | $query = $query->where(['withdraw_status'=>0]); | ||
| 65 | break; | ||
| 66 | case 'fail': //提现失败 -> 待提现 | ||
| 67 | $withdraw_status = 1; | ||
| 68 | $query = $query->where(['withdraw_status'=>2]); | ||
| 69 | break; | ||
| 70 | case 'advance': //提现中 | ||
| 71 | $withdraw_status = 2; | ||
| 72 | $query = $query->where(['withdraw_status'=>1]); | ||
| 73 | break; | ||
| 74 | case 'success': //提现完成 | ||
| 75 | $withdraw_status = 3; | ||
| 76 | $query = $query->where(['withdraw_status'=>2]); | ||
| 77 | break; | ||
| 78 | } | ||
| 79 | |||
| 80 | if ($query->update(['withdraw_status'=>$withdraw_status])) { | ||
| 81 | return Response::success(); | ||
| 82 | } else { | ||
| 83 | return Response::error(); | ||
| 84 | } | ||
| 85 | } | ||
| 86 | |||
| 87 | /** | ||
| 88 | * 确认账单 | 51 | * 确认账单 |
| 89 | * @return \Illuminate\Http\JsonResponse | 52 | * @return \Illuminate\Http\JsonResponse |
| 90 | */ | 53 | */ |
| ... | @@ -147,4 +110,22 @@ class MusicianWithdrawService extends Service | ... | @@ -147,4 +110,22 @@ class MusicianWithdrawService extends Service |
| 147 | } | 110 | } |
| 148 | } | 111 | } |
| 149 | 112 | ||
| 113 | /** | ||
| 114 | * 修改提现状态 | ||
| 115 | * @return \Illuminate\Http\JsonResponse|mixed | ||
| 116 | */ | ||
| 117 | public function changeStatus() | ||
| 118 | { | ||
| 119 | $withdraw_status = ''; | ||
| 120 | |||
| 121 | $query = StakeholderIncomeSyncAppDetails::query()->where(['sync_status'=>1, 'identifier'=>$this->identifier->identifier]) | ||
| 122 | ->whereIn('serial_no', $this->request->input('busi_id')); | ||
| 123 | |||
| 124 | if ($query->update(['withdraw_status'=>$withdraw_status])) { | ||
| 125 | return Response::success(); | ||
| 126 | } else { | ||
| 127 | return Response::error(); | ||
| 128 | } | ||
| 129 | } | ||
| 130 | |||
| 150 | } | 131 | } | ... | ... |
| ... | @@ -14,7 +14,8 @@ | ... | @@ -14,7 +14,8 @@ |
| 14 | "guzzlehttp/guzzle": "^7.0.1", | 14 | "guzzlehttp/guzzle": "^7.0.1", |
| 15 | "laravel/framework": "^8.40", | 15 | "laravel/framework": "^8.40", |
| 16 | "laravel/tinker": "^2.5", | 16 | "laravel/tinker": "^2.5", |
| 17 | "phpseclib/phpseclib": "~3.0" | 17 | "phpseclib/phpseclib": "~3.0", |
| 18 | "qcloud/vod-sdk-v5": "^2.4" | ||
| 18 | }, | 19 | }, |
| 19 | "require-dev": { | 20 | "require-dev": { |
| 20 | "facade/ignition": "^2.5", | 21 | "facade/ignition": "^2.5", | ... | ... |
| ... | @@ -4,7 +4,7 @@ | ... | @@ -4,7 +4,7 @@ |
| 4 | "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", | 4 | "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", |
| 5 | "This file is @generated automatically" | 5 | "This file is @generated automatically" |
| 6 | ], | 6 | ], |
| 7 | "content-hash": "a4efc4c63ff2de523232f0fe790550fb", | 7 | "content-hash": "e28041a4bc9847dee62a3829f3824c85", |
| 8 | "packages": [ | 8 | "packages": [ |
| 9 | { | 9 | { |
| 10 | "name": "asm89/stack-cors", | 10 | "name": "asm89/stack-cors", |
| ... | @@ -744,6 +744,93 @@ | ... | @@ -744,6 +744,93 @@ |
| 744 | "time": "2020-04-13T13:17:36+00:00" | 744 | "time": "2020-04-13T13:17:36+00:00" |
| 745 | }, | 745 | }, |
| 746 | { | 746 | { |
| 747 | "name": "guzzlehttp/command", | ||
| 748 | "version": "1.2.1", | ||
| 749 | "source": { | ||
| 750 | "type": "git", | ||
| 751 | "url": "https://github.com/guzzle/command.git", | ||
| 752 | "reference": "04b06e7f5ef37d814aeb3f4b6015b65a9d4412c5" | ||
| 753 | }, | ||
| 754 | "dist": { | ||
| 755 | "type": "zip", | ||
| 756 | "url": "https://api.github.com/repos/guzzle/command/zipball/04b06e7f5ef37d814aeb3f4b6015b65a9d4412c5", | ||
| 757 | "reference": "04b06e7f5ef37d814aeb3f4b6015b65a9d4412c5", | ||
| 758 | "shasum": "", | ||
| 759 | "mirrors": [ | ||
| 760 | { | ||
| 761 | "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", | ||
| 762 | "preferred": true | ||
| 763 | } | ||
| 764 | ] | ||
| 765 | }, | ||
| 766 | "require": { | ||
| 767 | "guzzlehttp/guzzle": "^7.3", | ||
| 768 | "guzzlehttp/promises": "^1.3", | ||
| 769 | "guzzlehttp/psr7": "^1.7 || ^2.0", | ||
| 770 | "php": "^7.2.5 || ^8.0" | ||
| 771 | }, | ||
| 772 | "require-dev": { | ||
| 773 | "phpunit/phpunit": "^8.5.19" | ||
| 774 | }, | ||
| 775 | "type": "library", | ||
| 776 | "extra": { | ||
| 777 | "branch-alias": { | ||
| 778 | "dev-master": "1.2-dev" | ||
| 779 | } | ||
| 780 | }, | ||
| 781 | "autoload": { | ||
| 782 | "psr-4": { | ||
| 783 | "GuzzleHttp\\Command\\": "src/" | ||
| 784 | } | ||
| 785 | }, | ||
| 786 | "notification-url": "https://packagist.org/downloads/", | ||
| 787 | "license": [ | ||
| 788 | "MIT" | ||
| 789 | ], | ||
| 790 | "authors": [ | ||
| 791 | { | ||
| 792 | "name": "Graham Campbell", | ||
| 793 | "email": "hello@gjcampbell.co.uk", | ||
| 794 | "homepage": "https://github.com/GrahamCampbell" | ||
| 795 | }, | ||
| 796 | { | ||
| 797 | "name": "Michael Dowling", | ||
| 798 | "email": "mtdowling@gmail.com", | ||
| 799 | "homepage": "https://github.com/mtdowling" | ||
| 800 | }, | ||
| 801 | { | ||
| 802 | "name": "Jeremy Lindblom", | ||
| 803 | "email": "jeremeamia@gmail.com", | ||
| 804 | "homepage": "https://github.com/jeremeamia" | ||
| 805 | }, | ||
| 806 | { | ||
| 807 | "name": "Tobias Nyholm", | ||
| 808 | "email": "tobias.nyholm@gmail.com", | ||
| 809 | "homepage": "https://github.com/Nyholm" | ||
| 810 | } | ||
| 811 | ], | ||
| 812 | "description": "Provides the foundation for building command-based web service clients", | ||
| 813 | "support": { | ||
| 814 | "issues": "https://github.com/guzzle/command/issues", | ||
| 815 | "source": "https://github.com/guzzle/command/tree/1.2.1" | ||
| 816 | }, | ||
| 817 | "funding": [ | ||
| 818 | { | ||
| 819 | "url": "https://github.com/GrahamCampbell", | ||
| 820 | "type": "github" | ||
| 821 | }, | ||
| 822 | { | ||
| 823 | "url": "https://github.com/Nyholm", | ||
| 824 | "type": "github" | ||
| 825 | }, | ||
| 826 | { | ||
| 827 | "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/command", | ||
| 828 | "type": "tidelift" | ||
| 829 | } | ||
| 830 | ], | ||
| 831 | "time": "2021-09-05T19:12:19+00:00" | ||
| 832 | }, | ||
| 833 | { | ||
| 747 | "name": "guzzlehttp/guzzle", | 834 | "name": "guzzlehttp/guzzle", |
| 748 | "version": "7.3.0", | 835 | "version": "7.3.0", |
| 749 | "source": { | 836 | "source": { |
| ... | @@ -853,6 +940,97 @@ | ... | @@ -853,6 +940,97 @@ |
| 853 | "time": "2021-03-23T11:33:13+00:00" | 940 | "time": "2021-03-23T11:33:13+00:00" |
| 854 | }, | 941 | }, |
| 855 | { | 942 | { |
| 943 | "name": "guzzlehttp/guzzle-services", | ||
| 944 | "version": "1.3.1", | ||
| 945 | "source": { | ||
| 946 | "type": "git", | ||
| 947 | "url": "https://github.com/guzzle/guzzle-services.git", | ||
| 948 | "reference": "3731f120ce6856f4c71fff7cb2a27e263fe69f84" | ||
| 949 | }, | ||
| 950 | "dist": { | ||
| 951 | "type": "zip", | ||
| 952 | "url": "https://api.github.com/repos/guzzle/guzzle-services/zipball/3731f120ce6856f4c71fff7cb2a27e263fe69f84", | ||
| 953 | "reference": "3731f120ce6856f4c71fff7cb2a27e263fe69f84", | ||
| 954 | "shasum": "", | ||
| 955 | "mirrors": [ | ||
| 956 | { | ||
| 957 | "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", | ||
| 958 | "preferred": true | ||
| 959 | } | ||
| 960 | ] | ||
| 961 | }, | ||
| 962 | "require": { | ||
| 963 | "guzzlehttp/command": "^1.2", | ||
| 964 | "guzzlehttp/guzzle": "^7.3", | ||
| 965 | "guzzlehttp/psr7": "^1.7 || ^2.0", | ||
| 966 | "guzzlehttp/uri-template": "^0.2 || ^1.0", | ||
| 967 | "php": "^7.2.5 || ^8.0" | ||
| 968 | }, | ||
| 969 | "require-dev": { | ||
| 970 | "phpunit/phpunit": "^8.5.19 || ^9.5.8" | ||
| 971 | }, | ||
| 972 | "suggest": { | ||
| 973 | "gimler/guzzle-description-loader": "^0.0.4" | ||
| 974 | }, | ||
| 975 | "type": "library", | ||
| 976 | "extra": { | ||
| 977 | "branch-alias": { | ||
| 978 | "dev-master": "1.3-dev" | ||
| 979 | } | ||
| 980 | }, | ||
| 981 | "autoload": { | ||
| 982 | "psr-4": { | ||
| 983 | "GuzzleHttp\\Command\\Guzzle\\": "src/" | ||
| 984 | } | ||
| 985 | }, | ||
| 986 | "notification-url": "https://packagist.org/downloads/", | ||
| 987 | "license": [ | ||
| 988 | "MIT" | ||
| 989 | ], | ||
| 990 | "authors": [ | ||
| 991 | { | ||
| 992 | "name": "Graham Campbell", | ||
| 993 | "email": "hello@gjcampbell.co.uk", | ||
| 994 | "homepage": "https://github.com/GrahamCampbell" | ||
| 995 | }, | ||
| 996 | { | ||
| 997 | "name": "Michael Dowling", | ||
| 998 | "email": "mtdowling@gmail.com", | ||
| 999 | "homepage": "https://github.com/mtdowling" | ||
| 1000 | }, | ||
| 1001 | { | ||
| 1002 | "name": "Stefano Kowalke", | ||
| 1003 | "email": "blueduck@mail.org", | ||
| 1004 | "homepage": "https://github.com/Konafets" | ||
| 1005 | }, | ||
| 1006 | { | ||
| 1007 | "name": "Tobias Nyholm", | ||
| 1008 | "email": "tobias.nyholm@gmail.com", | ||
| 1009 | "homepage": "https://github.com/Nyholm" | ||
| 1010 | } | ||
| 1011 | ], | ||
| 1012 | "description": "Provides an implementation of the Guzzle Command library that uses Guzzle service descriptions to describe web services, serialize requests, and parse responses into easy to use model structures.", | ||
| 1013 | "support": { | ||
| 1014 | "issues": "https://github.com/guzzle/guzzle-services/issues", | ||
| 1015 | "source": "https://github.com/guzzle/guzzle-services/tree/1.3.1" | ||
| 1016 | }, | ||
| 1017 | "funding": [ | ||
| 1018 | { | ||
| 1019 | "url": "https://github.com/GrahamCampbell", | ||
| 1020 | "type": "github" | ||
| 1021 | }, | ||
| 1022 | { | ||
| 1023 | "url": "https://github.com/Nyholm", | ||
| 1024 | "type": "github" | ||
| 1025 | }, | ||
| 1026 | { | ||
| 1027 | "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/guzzle-services", | ||
| 1028 | "type": "tidelift" | ||
| 1029 | } | ||
| 1030 | ], | ||
| 1031 | "time": "2021-10-07T13:01:35+00:00" | ||
| 1032 | }, | ||
| 1033 | { | ||
| 856 | "name": "guzzlehttp/promises", | 1034 | "name": "guzzlehttp/promises", |
| 857 | "version": "1.4.1", | 1035 | "version": "1.4.1", |
| 858 | "source": { | 1036 | "source": { |
| ... | @@ -995,6 +1173,96 @@ | ... | @@ -995,6 +1173,96 @@ |
| 995 | "time": "2021-04-26T09:17:50+00:00" | 1173 | "time": "2021-04-26T09:17:50+00:00" |
| 996 | }, | 1174 | }, |
| 997 | { | 1175 | { |
| 1176 | "name": "guzzlehttp/uri-template", | ||
| 1177 | "version": "v1.0.1", | ||
| 1178 | "source": { | ||
| 1179 | "type": "git", | ||
| 1180 | "url": "https://github.com/guzzle/uri-template.git", | ||
| 1181 | "reference": "b945d74a55a25a949158444f09ec0d3c120d69e2" | ||
| 1182 | }, | ||
| 1183 | "dist": { | ||
| 1184 | "type": "zip", | ||
| 1185 | "url": "https://api.github.com/repos/guzzle/uri-template/zipball/b945d74a55a25a949158444f09ec0d3c120d69e2", | ||
| 1186 | "reference": "b945d74a55a25a949158444f09ec0d3c120d69e2", | ||
| 1187 | "shasum": "", | ||
| 1188 | "mirrors": [ | ||
| 1189 | { | ||
| 1190 | "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", | ||
| 1191 | "preferred": true | ||
| 1192 | } | ||
| 1193 | ] | ||
| 1194 | }, | ||
| 1195 | "require": { | ||
| 1196 | "php": "^7.2.5 || ^8.0", | ||
| 1197 | "symfony/polyfill-php80": "^1.17" | ||
| 1198 | }, | ||
| 1199 | "require-dev": { | ||
| 1200 | "phpunit/phpunit": "^8.5.19 || ^9.5.8", | ||
| 1201 | "uri-template/tests": "1.0.0" | ||
| 1202 | }, | ||
| 1203 | "type": "library", | ||
| 1204 | "extra": { | ||
| 1205 | "branch-alias": { | ||
| 1206 | "dev-master": "1.0-dev" | ||
| 1207 | } | ||
| 1208 | }, | ||
| 1209 | "autoload": { | ||
| 1210 | "psr-4": { | ||
| 1211 | "GuzzleHttp\\UriTemplate\\": "src" | ||
| 1212 | } | ||
| 1213 | }, | ||
| 1214 | "notification-url": "https://packagist.org/downloads/", | ||
| 1215 | "license": [ | ||
| 1216 | "MIT" | ||
| 1217 | ], | ||
| 1218 | "authors": [ | ||
| 1219 | { | ||
| 1220 | "name": "Graham Campbell", | ||
| 1221 | "email": "hello@gjcampbell.co.uk", | ||
| 1222 | "homepage": "https://github.com/GrahamCampbell" | ||
| 1223 | }, | ||
| 1224 | { | ||
| 1225 | "name": "Michael Dowling", | ||
| 1226 | "email": "mtdowling@gmail.com", | ||
| 1227 | "homepage": "https://github.com/mtdowling" | ||
| 1228 | }, | ||
| 1229 | { | ||
| 1230 | "name": "George Mponos", | ||
| 1231 | "email": "gmponos@gmail.com", | ||
| 1232 | "homepage": "https://github.com/gmponos" | ||
| 1233 | }, | ||
| 1234 | { | ||
| 1235 | "name": "Tobias Nyholm", | ||
| 1236 | "email": "tobias.nyholm@gmail.com", | ||
| 1237 | "homepage": "https://github.com/Nyholm" | ||
| 1238 | } | ||
| 1239 | ], | ||
| 1240 | "description": "A polyfill class for uri_template of PHP", | ||
| 1241 | "keywords": [ | ||
| 1242 | "guzzlehttp", | ||
| 1243 | "uri-template" | ||
| 1244 | ], | ||
| 1245 | "support": { | ||
| 1246 | "issues": "https://github.com/guzzle/uri-template/issues", | ||
| 1247 | "source": "https://github.com/guzzle/uri-template/tree/v1.0.1" | ||
| 1248 | }, | ||
| 1249 | "funding": [ | ||
| 1250 | { | ||
| 1251 | "url": "https://github.com/GrahamCampbell", | ||
| 1252 | "type": "github" | ||
| 1253 | }, | ||
| 1254 | { | ||
| 1255 | "url": "https://github.com/Nyholm", | ||
| 1256 | "type": "github" | ||
| 1257 | }, | ||
| 1258 | { | ||
| 1259 | "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/uri-template", | ||
| 1260 | "type": "tidelift" | ||
| 1261 | } | ||
| 1262 | ], | ||
| 1263 | "time": "2021-10-07T12:57:01+00:00" | ||
| 1264 | }, | ||
| 1265 | { | ||
| 998 | "name": "laravel/framework", | 1266 | "name": "laravel/framework", |
| 999 | "version": "v8.48.2", | 1267 | "version": "v8.48.2", |
| 1000 | "source": { | 1268 | "source": { |
| ... | @@ -2588,6 +2856,124 @@ | ... | @@ -2588,6 +2856,124 @@ |
| 2588 | "time": "2021-04-10T16:23:39+00:00" | 2856 | "time": "2021-04-10T16:23:39+00:00" |
| 2589 | }, | 2857 | }, |
| 2590 | { | 2858 | { |
| 2859 | "name": "qcloud/cos-sdk-v5", | ||
| 2860 | "version": "v2.4.0", | ||
| 2861 | "source": { | ||
| 2862 | "type": "git", | ||
| 2863 | "url": "https://github.com/tencentyun/cos-php-sdk-v5.git", | ||
| 2864 | "reference": "57e8e354ff94cfadabf13b1aacca1c6a20252595" | ||
| 2865 | }, | ||
| 2866 | "dist": { | ||
| 2867 | "type": "zip", | ||
| 2868 | "url": "https://api.github.com/repos/tencentyun/cos-php-sdk-v5/zipball/57e8e354ff94cfadabf13b1aacca1c6a20252595", | ||
| 2869 | "reference": "57e8e354ff94cfadabf13b1aacca1c6a20252595", | ||
| 2870 | "shasum": "", | ||
| 2871 | "mirrors": [ | ||
| 2872 | { | ||
| 2873 | "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", | ||
| 2874 | "preferred": true | ||
| 2875 | } | ||
| 2876 | ] | ||
| 2877 | }, | ||
| 2878 | "require": { | ||
| 2879 | "ext-curl": "*", | ||
| 2880 | "ext-json": "*", | ||
| 2881 | "guzzlehttp/guzzle": ">=6.2.1", | ||
| 2882 | "guzzlehttp/guzzle-services": ">=1.1", | ||
| 2883 | "guzzlehttp/psr7": "<=2.1", | ||
| 2884 | "php": ">=5.6" | ||
| 2885 | }, | ||
| 2886 | "type": "library", | ||
| 2887 | "autoload": { | ||
| 2888 | "psr-4": { | ||
| 2889 | "Qcloud\\Cos\\": "src/Qcloud/Cos/" | ||
| 2890 | }, | ||
| 2891 | "files": [ | ||
| 2892 | "src/Qcloud/Cos/Common.php" | ||
| 2893 | ] | ||
| 2894 | }, | ||
| 2895 | "notification-url": "https://packagist.org/downloads/", | ||
| 2896 | "license": [ | ||
| 2897 | "MIT" | ||
| 2898 | ], | ||
| 2899 | "authors": [ | ||
| 2900 | { | ||
| 2901 | "name": "yaozongyou", | ||
| 2902 | "email": "yaozongyou@vip.qq.com" | ||
| 2903 | }, | ||
| 2904 | { | ||
| 2905 | "name": "lewzylu", | ||
| 2906 | "email": "327874225@qq.com" | ||
| 2907 | }, | ||
| 2908 | { | ||
| 2909 | "name": "tuunalai", | ||
| 2910 | "email": "550566181@qq.com" | ||
| 2911 | } | ||
| 2912 | ], | ||
| 2913 | "description": "PHP SDK for QCloud COS", | ||
| 2914 | "keywords": [ | ||
| 2915 | "cos", | ||
| 2916 | "php", | ||
| 2917 | "qcloud" | ||
| 2918 | ], | ||
| 2919 | "support": { | ||
| 2920 | "issues": "https://github.com/tencentyun/cos-php-sdk-v5/issues", | ||
| 2921 | "source": "https://github.com/tencentyun/cos-php-sdk-v5/tree/v2.4.0" | ||
| 2922 | }, | ||
| 2923 | "time": "2021-10-28T14:01:51+00:00" | ||
| 2924 | }, | ||
| 2925 | { | ||
| 2926 | "name": "qcloud/vod-sdk-v5", | ||
| 2927 | "version": "v2.4.4", | ||
| 2928 | "source": { | ||
| 2929 | "type": "git", | ||
| 2930 | "url": "https://github.com/tencentyun/vod-php-sdk-v5.git", | ||
| 2931 | "reference": "a2af6b9662c2b33f88ba78e8e5bb9a2a76b4e178" | ||
| 2932 | }, | ||
| 2933 | "dist": { | ||
| 2934 | "type": "zip", | ||
| 2935 | "url": "https://api.github.com/repos/tencentyun/vod-php-sdk-v5/zipball/a2af6b9662c2b33f88ba78e8e5bb9a2a76b4e178", | ||
| 2936 | "reference": "a2af6b9662c2b33f88ba78e8e5bb9a2a76b4e178", | ||
| 2937 | "shasum": "", | ||
| 2938 | "mirrors": [ | ||
| 2939 | { | ||
| 2940 | "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", | ||
| 2941 | "preferred": true | ||
| 2942 | } | ||
| 2943 | ] | ||
| 2944 | }, | ||
| 2945 | "require": { | ||
| 2946 | "php": ">=5.6.33", | ||
| 2947 | "qcloud/cos-sdk-v5": "^v2.0.0", | ||
| 2948 | "tencentcloud/tencentcloud-sdk-php": "^3.0.166" | ||
| 2949 | }, | ||
| 2950 | "require-dev": { | ||
| 2951 | "phpunit/phpunit": "^5.7" | ||
| 2952 | }, | ||
| 2953 | "type": "library", | ||
| 2954 | "autoload": { | ||
| 2955 | "psr-4": { | ||
| 2956 | "Vod\\": "src/Vod/" | ||
| 2957 | } | ||
| 2958 | }, | ||
| 2959 | "notification-url": "https://packagist.org/downloads/", | ||
| 2960 | "license": [ | ||
| 2961 | "MIT" | ||
| 2962 | ], | ||
| 2963 | "authors": [ | ||
| 2964 | { | ||
| 2965 | "name": "xujianguo", | ||
| 2966 | "email": "450846733@qq.com" | ||
| 2967 | } | ||
| 2968 | ], | ||
| 2969 | "description": "VOD SDK For PHP", | ||
| 2970 | "support": { | ||
| 2971 | "issues": "https://github.com/tencentyun/vod-php-sdk-v5/issues", | ||
| 2972 | "source": "https://github.com/tencentyun/vod-php-sdk-v5" | ||
| 2973 | }, | ||
| 2974 | "time": "2021-03-10T11:51:50+00:00" | ||
| 2975 | }, | ||
| 2976 | { | ||
| 2591 | "name": "ralouphie/getallheaders", | 2977 | "name": "ralouphie/getallheaders", |
| 2592 | "version": "3.0.3", | 2978 | "version": "3.0.3", |
| 2593 | "source": { | 2979 | "source": { |
| ... | @@ -5236,6 +5622,59 @@ | ... | @@ -5236,6 +5622,59 @@ |
| 5236 | "time": "2021-06-06T09:51:56+00:00" | 5622 | "time": "2021-06-06T09:51:56+00:00" |
| 5237 | }, | 5623 | }, |
| 5238 | { | 5624 | { |
| 5625 | "name": "tencentcloud/tencentcloud-sdk-php", | ||
| 5626 | "version": "3.0.519", | ||
| 5627 | "source": { | ||
| 5628 | "type": "git", | ||
| 5629 | "url": "https://github.com/TencentCloud/tencentcloud-sdk-php.git", | ||
| 5630 | "reference": "6bc48a35816095f823384afe3fedc5ee776f1be9" | ||
| 5631 | }, | ||
| 5632 | "dist": { | ||
| 5633 | "type": "zip", | ||
| 5634 | "url": "https://api.github.com/repos/TencentCloud/tencentcloud-sdk-php/zipball/6bc48a35816095f823384afe3fedc5ee776f1be9", | ||
| 5635 | "reference": "6bc48a35816095f823384afe3fedc5ee776f1be9", | ||
| 5636 | "shasum": "", | ||
| 5637 | "mirrors": [ | ||
| 5638 | { | ||
| 5639 | "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", | ||
| 5640 | "preferred": true | ||
| 5641 | } | ||
| 5642 | ] | ||
| 5643 | }, | ||
| 5644 | "require": { | ||
| 5645 | "guzzlehttp/guzzle": "^6.3 || ^7.0", | ||
| 5646 | "php": ">=5.6.0" | ||
| 5647 | }, | ||
| 5648 | "type": "library", | ||
| 5649 | "autoload": { | ||
| 5650 | "classmap": [ | ||
| 5651 | "src/QcloudApi/QcloudApi.php" | ||
| 5652 | ], | ||
| 5653 | "psr-4": { | ||
| 5654 | "TencentCloud\\": "./src/TencentCloud" | ||
| 5655 | } | ||
| 5656 | }, | ||
| 5657 | "notification-url": "https://packagist.org/downloads/", | ||
| 5658 | "license": [ | ||
| 5659 | "Apache-2.0" | ||
| 5660 | ], | ||
| 5661 | "authors": [ | ||
| 5662 | { | ||
| 5663 | "name": "coolli", | ||
| 5664 | "email": "tencentcloudapi@tencent.com", | ||
| 5665 | "homepage": "https://cloud.tencent.com/document/sdk/PHP", | ||
| 5666 | "role": "Developer" | ||
| 5667 | } | ||
| 5668 | ], | ||
| 5669 | "description": "TencentCloudApi php sdk", | ||
| 5670 | "homepage": "https://github.com/TencentCloud/tencentcloud-sdk-php", | ||
| 5671 | "support": { | ||
| 5672 | "issues": "https://github.com/TencentCloud/tencentcloud-sdk-php/issues", | ||
| 5673 | "source": "https://github.com/TencentCloud/tencentcloud-sdk-php/tree/3.0.519" | ||
| 5674 | }, | ||
| 5675 | "time": "2021-11-15T00:42:17+00:00" | ||
| 5676 | }, | ||
| 5677 | { | ||
| 5239 | "name": "tijsverkoyen/css-to-inline-styles", | 5678 | "name": "tijsverkoyen/css-to-inline-styles", |
| 5240 | "version": "2.2.3", | 5679 | "version": "2.2.3", |
| 5241 | "source": { | 5680 | "source": { | ... | ... |
-
Please register or sign in to post a comment