文件上传cos
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -318,7 +318,7 @@ class PropertyTrackService extends Service | ... | @@ -318,7 +318,7 @@ class PropertyTrackService extends Service |
| 318 | 318 | ||
| 319 | try { | 319 | try { |
| 320 | 320 | ||
| 321 | $response = $client->post($this->request->getRequestUri(), [ | 321 | $response = $client->post('/api/inside/getCosToken', [ |
| 322 | 'json' => $this->request->only(['dir', 'material']), | 322 | 'json' => $this->request->only(['dir', 'material']), |
| 323 | ]); | 323 | ]); |
| 324 | $respArr = json_decode($response->getBody()->getContents(), true); | 324 | $respArr = json_decode($response->getBody()->getContents(), true); | ... | ... |
-
Please register or sign in to post a comment