{"id":22928609,"url":"https://github.com/arronf2e/jssdk_simple","last_synced_at":"2025-10-14T01:15:48.611Z","repository":{"id":123717437,"uuid":"73241775","full_name":"arronf2e/jssdk_simple","owner":"arronf2e","description":"微信SDK签名算法官方demo","archived":false,"fork":false,"pushed_at":"2016-11-09T01:19:02.000Z","size":18,"stargazers_count":10,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-22T10:41:15.459Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arronf2e.png","metadata":{"files":{"readme":"readme.txt","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-09T01:18:27.000Z","updated_at":"2020-02-17T14:01:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"3f1c39f4-ec96-4516-bca8-b766f4a19ed0","html_url":"https://github.com/arronf2e/jssdk_simple","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arronf2e/jssdk_simple","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arronf2e%2Fjssdk_simple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arronf2e%2Fjssdk_simple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arronf2e%2Fjssdk_simple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arronf2e%2Fjssdk_simple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arronf2e","download_url":"https://codeload.github.com/arronf2e/jssdk_simple/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arronf2e%2Fjssdk_simple/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017453,"owners_count":26086081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-14T09:27:11.408Z","updated_at":"2025-10-14T01:15:48.592Z","avatar_url":"https://github.com/arronf2e.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"JAVA, Node, Python 部分代码只实现了签名算法，需要开发者传入 jsapi_ticket 和 url ，其中 jsapi_ticket 需要通过 http://api.weixin.qq.com/cgi-bin/ticket/getticket?type=jsapi\u0026access_token=ACCESS_TOKEN 接口获取，url 为调用页面的完整 url 。\n\nPHP 部分代码包括了获取 access_token 和 jsapi_ticket 的操作，只需传入 appid 和 appsecret 即可，但要注意如果已有其他业务需要使用 access_token 的话，应修改获取 access_token 部分代码从全局缓存中获取，防止重复获取 access_token ，超过调用频率。\n\n注意事项：\n1. jsapi_ticket 的有效期为 7200 秒，开发者必须全局缓存 jsapi_ticket ，防止超过调用频率。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farronf2e%2Fjssdk_simple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farronf2e%2Fjssdk_simple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farronf2e%2Fjssdk_simple/lists"}