1 | <?php |
||
21 | class Client extends BaseClient |
||
22 | { |
||
23 | /** |
||
24 | * 获取草稿箱内的所有临时代码草稿 |
||
25 | * |
||
26 | * @return mixed |
||
27 | */ |
||
28 | public function getDrafts() |
||
32 | |||
33 | /** |
||
34 | * 将草稿箱的草稿选为小程序代码模版. |
||
35 | * |
||
36 | * @param int $draftId |
||
37 | * |
||
38 | * @return mixed |
||
39 | */ |
||
40 | public function createFromDraft(int $draftId) |
||
48 | |||
49 | /** |
||
50 | * 获取代码模版库中的所有小程序代码模版. |
||
51 | * |
||
52 | * @return mixed |
||
53 | */ |
||
54 | public function list() |
||
58 | |||
59 | /** |
||
60 | * 删除指定小程序代码模版. |
||
61 | * |
||
62 | * @param $templateId |
||
63 | * |
||
64 | * @return mixed |
||
65 | */ |
||
66 | public function delete($templateId) |
||
74 | } |
||
75 |