1 | <?php |
||
29 | class Material extends AbstractAPI |
||
30 | { |
||
31 | const API_MATERIAL_ADD = 'https://api.weixin.qq.com/shakearound/material/add'; |
||
32 | |||
33 | /** |
||
34 | * Upload image material. |
||
35 | * |
||
36 | * @param string $path |
||
37 | * @param string $type |
||
38 | * |
||
39 | * @return string |
||
40 | * |
||
41 | * @throws InvalidArgumentException |
||
42 | */ |
||
43 | public function uploadImage($path, $type = 'icon') |
||
53 | } |
||
54 |