🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
### 1\. 先登录支付宝小程序管理后台: [https://auth.alipay.com/login/ant\_sso\_index.htm?goto=https%3A%2F%2Fopenhome.alipay.com%2Fplatform%2Fmini.htm](https://auth.alipay.com/login/ant_sso_index.htm?goto=https%3A%2F%2Fopenhome.alipay.com%2Fplatform%2Fmini.htm) ### 2\. 进入指定小程序 ![](https://git.kancloud.cn/repos/fjwcf881203/xcxscxt/raw/24e086b2b9aa5e0aa79125cf7a86031fb481a944/images/9596c4bed7544e7c400231482f884517_348x736.png?access-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2Mjg2NTA1MjIsImlhdCI6MTYyODYwNzMyMiwicmVwb3NpdG9yeSI6ImZqd2NmODgxMjAzXC94Y3hzY3h0IiwidXNlciI6eyJ1c2VybmFtZSI6ImZqd2NmODgxMjAzIiwibmFtZSI6Ilx1Nzk4Zlx1NWVmYVx1NWZhZVx1OGQyMlx1NWJjYyIsImVtYWlsIjoiMTgxMDkwMzg3NkBxcS5jb20iLCJ0b2tlbiI6IjJlNjZkYzYwMGViZTA4OTRiNTUzMWU1OGM3OTE2ZTllIiwiYXV0aG9yaXplIjp7InB1bGwiOnRydWUsInB1c2giOnRydWUsImFkbWluIjp0cnVlfX19.6Tkh84i5g--G-wXk_MzKCAgwprYeAkNE2LsrHP-NmKg) ### 3\. 左边菜单列表选择“模板消息”,点击“模板库” ![](https://git.kancloud.cn/repos/fjwcf881203/xcxscxt/raw/24e086b2b9aa5e0aa79125cf7a86031fb481a944/images/5e9391f4d60f5005bace942e525583ab_484x125.png?access-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2Mjg2NTA1MjIsImlhdCI6MTYyODYwNzMyMiwicmVwb3NpdG9yeSI6ImZqd2NmODgxMjAzXC94Y3hzY3h0IiwidXNlciI6eyJ1c2VybmFtZSI6ImZqd2NmODgxMjAzIiwibmFtZSI6Ilx1Nzk4Zlx1NWVmYVx1NWZhZVx1OGQyMlx1NWJjYyIsImVtYWlsIjoiMTgxMDkwMzg3NkBxcS5jb20iLCJ0b2tlbiI6IjJlNjZkYzYwMGViZTA4OTRiNTUzMWU1OGM3OTE2ZTllIiwiYXV0aG9yaXplIjp7InB1bGwiOnRydWUsInB1c2giOnRydWUsImFkbWluIjp0cnVlfX19.6Tkh84i5g--G-wXk_MzKCAgwprYeAkNE2LsrHP-NmKg) ### 4\. 输入关键字查找相应的模板;例如:订单支付成功通知; ![](https://git.kancloud.cn/repos/fjwcf881203/xcxscxt/raw/24e086b2b9aa5e0aa79125cf7a86031fb481a944/images/d89e26b8512cc03627c8e23096e9854a_1650x314.png?access-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2Mjg2NTA1MjIsImlhdCI6MTYyODYwNzMyMiwicmVwb3NpdG9yeSI6ImZqd2NmODgxMjAzXC94Y3hzY3h0IiwidXNlciI6eyJ1c2VybmFtZSI6ImZqd2NmODgxMjAzIiwibmFtZSI6Ilx1Nzk4Zlx1NWVmYVx1NWZhZVx1OGQyMlx1NWJjYyIsImVtYWlsIjoiMTgxMDkwMzg3NkBxcS5jb20iLCJ0b2tlbiI6IjJlNjZkYzYwMGViZTA4OTRiNTUzMWU1OGM3OTE2ZTllIiwiYXV0aG9yaXplIjp7InB1bGwiOnRydWUsInB1c2giOnRydWUsImFkbWluIjp0cnVlfX19.6Tkh84i5g--G-wXk_MzKCAgwprYeAkNE2LsrHP-NmKg) ## \*\*注意:\*\*消息类型不要选错 ### 5\. 点击右边的“选用”,会弹出 ![](https://git.kancloud.cn/repos/fjwcf881203/xcxscxt/raw/24e086b2b9aa5e0aa79125cf7a86031fb481a944/images/QQ%E6%88%AA%E5%9B%BE20200309153127.png?access-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2Mjg2NTA1MjIsImlhdCI6MTYyODYwNzMyMiwicmVwb3NpdG9yeSI6ImZqd2NmODgxMjAzXC94Y3hzY3h0IiwidXNlciI6eyJ1c2VybmFtZSI6ImZqd2NmODgxMjAzIiwibmFtZSI6Ilx1Nzk4Zlx1NWVmYVx1NWZhZVx1OGQyMlx1NWJjYyIsImVtYWlsIjoiMTgxMDkwMzg3NkBxcS5jb20iLCJ0b2tlbiI6IjJlNjZkYzYwMGViZTA4OTRiNTUzMWU1OGM3OTE2ZTllIiwiYXV0aG9yaXplIjp7InB1bGwiOnRydWUsInB1c2giOnRydWUsImFkbWluIjp0cnVlfX19.6Tkh84i5g--G-wXk_MzKCAgwprYeAkNE2LsrHP-NmKg) ### 6\. 点击弹框上左边的关键字 ![](https://git.kancloud.cn/repos/fjwcf881203/xcxscxt/raw/24e086b2b9aa5e0aa79125cf7a86031fb481a944/images/QQ%E6%88%AA%E5%9B%BE20200309153202.png?access-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2Mjg2NTA1MjIsImlhdCI6MTYyODYwNzMyMiwicmVwb3NpdG9yeSI6ImZqd2NmODgxMjAzXC94Y3hzY3h0IiwidXNlciI6eyJ1c2VybmFtZSI6ImZqd2NmODgxMjAzIiwibmFtZSI6Ilx1Nzk4Zlx1NWVmYVx1NWZhZVx1OGQyMlx1NWJjYyIsImVtYWlsIjoiMTgxMDkwMzg3NkBxcS5jb20iLCJ0b2tlbiI6IjJlNjZkYzYwMGViZTA4OTRiNTUzMWU1OGM3OTE2ZTllIiwiYXV0aG9yaXplIjp7InB1bGwiOnRydWUsInB1c2giOnRydWUsImFkbWluIjp0cnVlfX19.6Tkh84i5g--G-wXk_MzKCAgwprYeAkNE2LsrHP-NmKg) ## \*\*注意:\*\*每个模板的关键字都不一样:具体的需要参照商城后台 ![](https://git.kancloud.cn/repos/fjwcf881203/xcxscxt/raw/24e086b2b9aa5e0aa79125cf7a86031fb481a944/images/c7f96fac2abe428d542faf58034b4596_1259x592.png?access-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2Mjg2NTA1MjIsImlhdCI6MTYyODYwNzMyMiwicmVwb3NpdG9yeSI6ImZqd2NmODgxMjAzXC94Y3hzY3h0IiwidXNlciI6eyJ1c2VybmFtZSI6ImZqd2NmODgxMjAzIiwibmFtZSI6Ilx1Nzk4Zlx1NWVmYVx1NWZhZVx1OGQyMlx1NWJjYyIsImVtYWlsIjoiMTgxMDkwMzg3NkBxcS5jb20iLCJ0b2tlbiI6IjJlNjZkYzYwMGViZTA4OTRiNTUzMWU1OGM3OTE2ZTllIiwiYXV0aG9yaXplIjp7InB1bGwiOnRydWUsInB1c2giOnRydWUsImFkbWluIjp0cnVlfX19.6Tkh84i5g--G-wXk_MzKCAgwprYeAkNE2LsrHP-NmKg) ### 7\. 选好关键字后,点击“提交”; ### 8\. 将模板ID复制到商城后台--支付宝小程序--模板消息 对应的地方 ![](https://git.kancloud.cn/repos/fjwcf881203/xcxscxt/raw/24e086b2b9aa5e0aa79125cf7a86031fb481a944/images/7de7e4f435a4d94c1871c10cfdfe7329_1604x104.png?access-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2Mjg2NTA1MjIsImlhdCI6MTYyODYwNzMyMiwicmVwb3NpdG9yeSI6ImZqd2NmODgxMjAzXC94Y3hzY3h0IiwidXNlciI6eyJ1c2VybmFtZSI6ImZqd2NmODgxMjAzIiwibmFtZSI6Ilx1Nzk4Zlx1NWVmYVx1NWZhZVx1OGQyMlx1NWJjYyIsImVtYWlsIjoiMTgxMDkwMzg3NkBxcS5jb20iLCJ0b2tlbiI6IjJlNjZkYzYwMGViZTA4OTRiNTUzMWU1OGM3OTE2ZTllIiwiYXV0aG9yaXplIjp7InB1bGwiOnRydWUsInB1c2giOnRydWUsImFkbWluIjp0cnVlfX19.6Tkh84i5g--G-wXk_MzKCAgwprYeAkNE2LsrHP-NmKg)