Няма описание

zory cea984bb66 '0093211-21' преди 3 седмици
components ce94643dd1 '1814556630' преди 1 месец
node_modules cee0555e6e '001' преди 1 месец
pages cea984bb66 '0093211-21' преди 3 седмици
static 3a9e851ed2 01490092-12 преди 4 седмици
store cee0555e6e '001' преди 1 месец
uni_modules 3a9e851ed2 01490092-12 преди 4 седмици
utils cee0555e6e '001' преди 1 месец
.gitignore cee0555e6e '001' преди 1 месец
App.vue 25fd678f85 '194652000' преди 1 месец
README.md 25fd678f85 '194652000' преди 1 месец
index.html cee0555e6e '001' преди 1 месец
main.js 25fd678f85 '194652000' преди 1 месец
manifest.json cee0555e6e '001' преди 1 месец
package-lock.json cee0555e6e '001' преди 1 месец
package.json cee0555e6e '001' преди 1 месец
pages.json 3a9e851ed2 01490092-12 преди 4 седмици
uni.promisify.adaptor.js cee0555e6e '001' преди 1 месец
uni.scss cee0555e6e '001' преди 1 месец

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){

			}
		})
	},
}