💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
#### 1、登录支付宝小程序官网,注册一个支付宝企业账号(重要一定要是企业账号,个人账户小程序权限不够)[https://mini.open.alipay.com/channel/miniIndex.htm](https://mini.open.alipay.com/channel/miniIndex.htm) [![图片](https://coding-net-production-file-ci.codehub.cn/e91a89c9-21ab-4673-9c72-30fd9caabaaf.png?sign=RHybqj0++QgTg37HbVW21pHh6/dhPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTU5NzYxMTUxJmY9L2U5MWE4OWM5LTIxYWItNDY3My05YzcyLTMwZmQ5Y2FhYmFhZi5wbmcmYj1jb2RpbmctbmV0LXByb2R1Y3Rpb24tZmlsZQ==)](https://coding-net-production-file-ci.codehub.cn/e91a89c9-21ab-4673-9c72-30fd9caabaaf.png?sign=0VZwISMPLeRhFo6cM4Tzhjyxa8xhPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTIwNDA5OTQzJmY9L2U5MWE4OWM5LTIxYWItNDY3My05YzcyLTMwZmQ5Y2FhYmFhZi5wbmcmYj1jb2RpbmctbmV0LXByb2R1Y3Rpb24tZmlsZQ==) #### 2、注册好以后,进入支付宝开放平台后台[https://open.alipay.com/dev/workspace](https://open.alipay.com/dev/workspace),点击控制台-小程序-创建应用,创建一个新的小程序 [![图片](https://coding-net-production-file-ci.codehub.cn/0b0adbce-779e-492e-98a6-b82fd84dc47d.png?sign=OBVrCFTTcBsj8fGTAsujlkl4IwRhPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTEyNDA0NDQ3JmY9LzBiMGFkYmNlLTc3OWUtNDkyZS05OGE2LWI4MmZkODRkYzQ3ZC5wbmcmYj1jb2RpbmctbmV0LXByb2R1Y3Rpb24tZmlsZQ==)](https://coding-net-production-file-ci.codehub.cn/0b0adbce-779e-492e-98a6-b82fd84dc47d.png?sign=MwHEWgcf961O1+OlVp4cNpT8Dq1hPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTEyMjEzMjQ0JmY9LzBiMGFkYmNlLTc3OWUtNDkyZS05OGE2LWI4MmZkODRkYzQ3ZC5wbmcmYj1jb2RpbmctbmV0LXByb2R1Y3Rpb24tZmlsZQ==) [![图片](https://coding-net-production-file-ci.codehub.cn/75da2824-c9aa-4360-a1c3-5493928203c3.png?sign=ReTZbIjQaAOMm739C//80VOOHHFhPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTcxMjYwNzU1JmY9Lzc1ZGEyODI0LWM5YWEtNDM2MC1hMWMzLTU0OTM5MjgyMDNjMy5wbmcmYj1jb2RpbmctbmV0LXByb2R1Y3Rpb24tZmlsZQ==)](https://coding-net-production-file-ci.codehub.cn/75da2824-c9aa-4360-a1c3-5493928203c3.png?sign=LfG1vibQFToiG0tW1gBDlSro4/RhPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTY1NDAzNzE0JmY9Lzc1ZGEyODI0LWM5YWEtNDM2MC1hMWMzLTU0OTM5MjgyMDNjMy5wbmcmYj1jb2RpbmctbmV0LXByb2R1Y3Rpb24tZmlsZQ==) #### 3、创建成功以后,进入小程序管理页面,找到开发设置-接口加签方式,点击设置,出现加签设置页面。 [![图片](https://coding-net-production-file-ci.codehub.cn/c60d771c-ba9c-499c-b380-13ea05d01513.png?sign=MrRDeMXBevFUATDtFkpkMZsFZcJhPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTY2NTY5Mzg1JmY9L2M2MGQ3NzFjLWJhOWMtNDk5Yy1iMzgwLTEzZWEwNWQwMTUxMy5wbmcmYj1jb2RpbmctbmV0LXByb2R1Y3Rpb24tZmlsZQ==)](https://coding-net-production-file-ci.codehub.cn/c60d771c-ba9c-499c-b380-13ea05d01513.png?sign=oY/P5VZUL4p+fIRE5Kaq4kEHBr9hPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTYzNTM2MTc4JmY9L2M2MGQ3NzFjLWJhOWMtNDk5Yy1iMzgwLTEzZWEwNWQwMTUxMy5wbmcmYj1jb2RpbmctbmV0LXByb2R1Y3Rpb24tZmlsZQ==) [![图片](https://coding-net-production-file-ci.codehub.cn/b5e566b0-61cd-4057-b2b5-83ce2795726a.png?sign=e7E56E/jnFAVO2iu/SbZt+RKf2FhPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTU3MzUzNjE2JmY9L2I1ZTU2NmIwLTYxY2QtNDA1Ny1iMmI1LTgzY2UyNzk1NzI2YS5wbmcmYj1jb2RpbmctbmV0LXByb2R1Y3Rpb24tZmlsZQ==)](https://coding-net-production-file-ci.codehub.cn/b5e566b0-61cd-4057-b2b5-83ce2795726a.png?sign=pasOgL+a/3bGfBV+sXnd5M+KNBZhPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTUzNjgxNDQ3JmY9L2I1ZTU2NmIwLTYxY2QtNDA1Ny1iMmI1LTgzY2UyNzk1NzI2YS5wbmcmYj1jb2RpbmctbmV0LXByb2R1Y3Rpb24tZmlsZQ==) #### 4、打开链接[https://miniu.alipay.com/keytool/create](https://miniu.alipay.com/keytool/create),按下面截图选择参数,然后点击生成,再把生成好的公钥复制到加签公钥设置里面。页面暂时不要关闭,将私钥保存到安全位置,后面还有用。 [![图片](https://coding-net-production-file-ci.codehub.cn/43cc0319-660c-49c3-af0b-53dea46b0060.png?sign=YXKigwomWut0Ph5x+VRMcx7Fa8dhPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTEzNjM0MTE2JmY9LzQzY2MwMzE5LTY2MGMtNDljMy1hZjBiLTUzZGVhNDZiMDA2MC5wbmcmYj1jb2RpbmctbmV0LXByb2R1Y3Rpb24tZmlsZQ==)](https://coding-net-production-file-ci.codehub.cn/43cc0319-660c-49c3-af0b-53dea46b0060.png?sign=TlEsrsh2rvLmJJKwFWzQ8OonSc1hPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTczNTgyMTQ1JmY9LzQzY2MwMzE5LTY2MGMtNDljMy1hZjBiLTUzZGVhNDZiMDA2MC5wbmcmYj1jb2RpbmctbmV0LXByb2R1Y3Rpb24tZmlsZQ==) #### 5、点击接口内容加密方式,点击设置,生成秘钥 [![图片](https://coding-net-production-file-ci.codehub.cn/7af374fb-dc98-4ed9-bd8a-891d9501dd5a.png?sign=xLspc++ED7OneYBFrFnRoYnGlNJhPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTY0NTM5NjgwJmY9LzdhZjM3NGZiLWRjOTgtNGVkOS1iZDhhLTg5MWQ5NTAxZGQ1YS5wbmcmYj1jb2RpbmctbmV0LXByb2R1Y3Rpb24tZmlsZQ==)](https://coding-net-production-file-ci.codehub.cn/7af374fb-dc98-4ed9-bd8a-891d9501dd5a.png?sign=k121oin7OdnmcIdiRzXRVsLkGhVhPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTk0Njc3NTY5JmY9LzdhZjM3NGZiLWRjOTgtNGVkOS1iZDhhLTg5MWQ5NTAxZGQ1YS5wbmcmYj1jb2RpbmctbmV0LXByb2R1Y3Rpb24tZmlsZQ==) #### 6、进入系统后台-渠道管理-支付宝小程序,点击立即接入 [![图片](https://coding-net-production-file-ci.codehub.cn/88bf0779-4e13-4abb-9e12-bd1ab0d1c057.png?sign=t3iREknq7iqCHgRsQSsbttB7/TxhPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTgzNDM2NzEwJmY9Lzg4YmYwNzc5LTRlMTMtNGFiYi05ZTEyLWJkMWFiMGQxYzA1Ny5wbmcmYj1jb2RpbmctbmV0LXByb2R1Y3Rpb24tZmlsZQ==)](https://coding-net-production-file-ci.codehub.cn/88bf0779-4e13-4abb-9e12-bd1ab0d1c057.png?sign=55CLligeEU+QKJJ+8mjNlFzui+JhPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTQyNzE3ODkxJmY9Lzg4YmYwNzc5LTRlMTMtNGFiYi05ZTEyLWJkMWFiMGQxYzA1Ny5wbmcmYj1jb2RpbmctbmV0LXByb2R1Y3Rpb24tZmlsZQ==) #### 7、在下面截图位置找到:小程序ID [![图片](https://coding-net-production-file-ci.codehub.cn/9c6b225f-1cf0-4c12-af8e-0f6052b148a2.png?sign=1TG13v6dJY+Hd1/OyEcNdFsoFnthPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTI2MDcwOTE3JmY9LzljNmIyMjVmLTFjZjAtNGMxMi1hZjhlLTBmNjA1MmIxNDhhMi5wbmcmYj1jb2RpbmctbmV0LXByb2R1Y3Rpb24tZmlsZQ==)](https://coding-net-production-file-ci.codehub.cn/9c6b225f-1cf0-4c12-af8e-0f6052b148a2.png?sign=lKtlmjqs5dizwhpzkjMdEyi5AOphPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTU3MzQ0MDgzJmY9LzljNmIyMjVmLTFjZjAtNGMxMi1hZjhlLTBmNjA1MmIxNDhhMi5wbmcmYj1jb2RpbmctbmV0LXByb2R1Y3Rpb24tZmlsZQ==) #### 8、在下面截图位置找到:支付宝公钥 [![图片](https://coding-net-production-file-ci.codehub.cn/076ce4f6-3bbe-43b4-94cf-7c464784c972.png?sign=cz7r1tyDqN5ssoZHq+yqLWzhgAlhPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTg3OTEzNjE2JmY9LzA3NmNlNGY2LTNiYmUtNDNiNC05NGNmLTdjNDY0Nzg0Yzk3Mi5wbmcmYj1jb2RpbmctbmV0LXByb2R1Y3Rpb24tZmlsZQ==)](https://coding-net-production-file-ci.codehub.cn/076ce4f6-3bbe-43b4-94cf-7c464784c972.png?sign=AU+Q9cMwdaMd7GUYiLUzqyL90g5hPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTQxMzkxMzkyJmY9LzA3NmNlNGY2LTNiYmUtNDNiNC05NGNmLTdjNDY0Nzg0Yzk3Mi5wbmcmYj1jb2RpbmctbmV0LXByb2R1Y3Rpb24tZmlsZQ==) [![图片](https://coding-net-production-file-ci.codehub.cn/a1b609bc-8d21-42c0-8e99-2e2aedabea8b.png?sign=7nvYcJNFSmx5o14GLbh4f5v/L79hPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTE0NDg5MzU4JmY9L2ExYjYwOWJjLThkMjEtNDJjMC04ZTk5LTJlMmFlZGFiZWE4Yi5wbmcmYj1jb2RpbmctbmV0LXByb2R1Y3Rpb24tZmlsZQ==)](https://coding-net-production-file-ci.codehub.cn/a1b609bc-8d21-42c0-8e99-2e2aedabea8b.png?sign=AqCvfdphbTcLrYjqJZJt9P3fpndhPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTQxMjk0NTkxJmY9L2ExYjYwOWJjLThkMjEtNDJjMC04ZTk5LTJlMmFlZGFiZWE4Yi5wbmcmYj1jb2RpbmctbmV0LXByb2R1Y3Rpb24tZmlsZQ==) #### 9、在下面截图位置找到:AES秘钥 [![图片](https://coding-net-production-file-ci.codehub.cn/2379ca98-dc96-4580-b96a-b3ce179ef65a.png?sign=y7LzDOohnnKgy8olrrNqzhPKqchhPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTc5OTc1NDg0JmY9LzIzNzljYTk4LWRjOTYtNDU4MC1iOTZhLWIzY2UxNzllZjY1YS5wbmcmYj1jb2RpbmctbmV0LXByb2R1Y3Rpb24tZmlsZQ==)](https://coding-net-production-file-ci.codehub.cn/2379ca98-dc96-4580-b96a-b3ce179ef65a.png?sign=7FiJztTA3fND7HpNUL92s6uravBhPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTU1NDY5ODMwJmY9LzIzNzljYTk4LWRjOTYtNDU4MC1iOTZhLWIzY2UxNzllZjY1YS5wbmcmYj1jb2RpbmctbmV0LXByb2R1Y3Rpb24tZmlsZQ==) #### 10、私钥就是上面第四步生成的私钥。将所有获取的参数填入系统后台,然后再保存即可。 [![图片](https://coding-net-production-file-ci.codehub.cn/6dd02564-e493-4a57-98a5-0056a6cd51f1.png?sign=168CQ1C+hPTojmGdvUAp9m//T5JhPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTg4NTg5MDMwJmY9LzZkZDAyNTY0LWU0OTMtNGE1Ny05OGE1LTAwNTZhNmNkNTFmMS5wbmcmYj1jb2RpbmctbmV0LXByb2R1Y3Rpb24tZmlsZQ==)](https://coding-net-production-file-ci.codehub.cn/6dd02564-e493-4a57-98a5-0056a6cd51f1.png?sign=JS+h53xUQHmrbHfpOJNawYC5adlhPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTQyOTM1MzMmZj0vNmRkMDI1NjQtZTQ5My00YTU3LTk4YTUtMDA1NmE2Y2Q1MWYxLnBuZyZiPWNvZGluZy1uZXQtcHJvZHVjdGlvbi1maWxl) #### 11、最后在进入小程序后台,开发设置,找到服务器域名白名单,点击添加。将系统的域名添加进去。 [![图片](https://coding-net-production-file-ci.codehub.cn/688bea08-6cf1-4540-b934-0db568ca5d27.png?sign=ODvlT9T8Gm7XKNIFewcjfXNRoMxhPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTYyNDkxOTk3JmY9LzY4OGJlYTA4LTZjZjEtNDU0MC1iOTM0LTBkYjU2OGNhNWQyNy5wbmcmYj1jb2RpbmctbmV0LXByb2R1Y3Rpb24tZmlsZQ==)](https://coding-net-production-file-ci.codehub.cn/688bea08-6cf1-4540-b934-0db568ca5d27.png?sign=HRFVjR8ha/Zc6MINJy/3xMfZ5T1hPTEyNTcyNDI1OTkmaz1BS0lERkk1Y3NzYjRIRHNHWWFLbzB2WnczdVVucWQ5TksxU2ImZT0xNjYzMzA1MDc2JnQ9MTY2MzMwMzI3NiZyPTY0MzA5NzY5JmY9LzY4OGJlYTA4LTZjZjEtNDU0MC1iOTM0LTBkYjU2OGNhNWQyNy5wbmcmYj1jb2RpbmctbmV0LXByb2R1Y3Rpb24tZmlsZQ==)