Keine Beschreibung

Zory 83acbf1a49 23003922-11023 vor 10 Stunden
components ce94643dd1 '1814556630' vor 2 Wochen
node_modules cee0555e6e '001' vor 3 Wochen
pages 83acbf1a49 23003922-11023 vor 10 Stunden
static 23e72dbc24 '093w32w-12223' vor 12 Stunden
store cee0555e6e '001' vor 3 Wochen
uni_modules 3a9e851ed2 01490092-12 vor 2 Wochen
utils cee0555e6e '001' vor 3 Wochen
.gitignore cee0555e6e '001' vor 3 Wochen
App.vue e2ad7ab369 '324234-0212' vor 2 Tagen
README.md 25fd678f85 '194652000' vor 2 Wochen
index.html cee0555e6e '001' vor 3 Wochen
main.js 25fd678f85 '194652000' vor 2 Wochen
manifest.json 83acbf1a49 23003922-11023 vor 10 Stunden
package-lock.json cee0555e6e '001' vor 3 Wochen
package.json cee0555e6e '001' vor 3 Wochen
pages.json 83acbf1a49 23003922-11023 vor 10 Stunden
uni.promisify.adaptor.js cee0555e6e '001' vor 3 Wochen
uni.scss cee0555e6e '001' vor 3 Wochen

README.md

jiaoyi-uni

抖音小程序Pay-Button-Sdk

App.vue

methods: {
	getPhoneNumber: function({ params, success, fail }) {
		const { iv, encryptedData } = params;
		tt.login({
			force:true,
			success(lres){
				tt.request({
					url:"https://tran.jsshuita.cn/dy/home/mobile",
					data:{iv:iv,encryptedData:encryptedData,code:lres.code},
					method:"POST",
					success(res){
						var resp = res.data;
						if (resp.code == 0) return ;
						success({ phoneNumber: resp.data.mobile })
					},
					fail(res){

					}
				})
			},
			fail(res){

			}
		})
	},
}