1 | <?php |
||
18 | class Client extends BaseClient |
||
19 | { |
||
20 | /** |
||
21 | * 获取草稿箱内的所有临时代码草稿 |
||
22 | * |
||
23 | * @return mixed |
||
24 | */ |
||
25 | public function getDrafts() |
||
29 | |||
30 | /** |
||
31 | * 将草稿箱的草稿选为小程序代码模版 |
||
32 | * |
||
33 | * @param int $draftId |
||
34 | * @return mixed |
||
35 | */ |
||
36 | public function addDraftToTemplate(int $draftId) |
||
44 | |||
45 | /** |
||
46 | * 获取代码模版库中的所有小程序代码模版 |
||
47 | * |
||
48 | * @return mixed |
||
49 | */ |
||
50 | public function getTemplates() |
||
54 | |||
55 | /** |
||
56 | * 删除指定小程序代码模版 |
||
57 | * |
||
58 | * @param $templateId |
||
59 | * @return mixed |
||
60 | */ |
||
61 | public function deleteTemplate($templateId) |
||
69 | } |