学有义方

FailedToRead d98b2f2538 删除push 2 rokov pred
.idea d98b2f2538 删除push 2 rokov pred
app d98b2f2538 删除push 2 rokov pred
gradle 7cc4f9c566 1.修改包名等 3 rokov pred
push d98b2f2538 删除push 2 rokov pred
.gitignore 21f692bf53 1.提交移动端8.0android框架到学有义方 4 rokov pred
README.md 3c92e555c5 test 3 rokov pred
build.gradle c4bbf037ba 1.提交代码 3 rokov pred
gradle.properties 7cc4f9c566 1.修改包名等 3 rokov pred
gradlew 21f692bf53 1.提交移动端8.0android框架到学有义方 4 rokov pred
gradlew.bat 21f692bf53 1.提交移动端8.0android框架到学有义方 4 rokov pred
settings.gradle d98b2f2538 删除push 2 rokov pred

README.md

义方快乐学堂8.0项目(移动端)

基础调用方法:

1.efunboxJS.upgradeApp(json);(应用自升级)

json:"{'title': '升级','type': '1','context': '1.修正登录异常\n2.xxxxxx','download_url':'url'}"

2.efunboxJS.closeApp();(关闭应用)

3.efunboxJS.WeChatLogin() ----call back js ---WeChatLoginSuccess(data)(微信登录)

4.efunboxJS.clickMusic(left,right);(点击音效 left,right是string类型:"1","1")

5.efunboxJS.toMiniProgram(programId,path);(programId:小程序id,path:跳转路径(首页传空)


支付调用方法:

1.WeChatPay(String json)(微信支付)

2.AliPay(String orderInfo) (支付宝支付)


播放调用方法

efunboxJS.playVideo(json,playindex, playtype);

样例 json:[{"videourl":"1","videoname":"name1","videoId":"321231","videoplaytime":"2000"},{"videourl":"1","videoname":"name1","videoId":"321231","videoplaytime":"2000"}]

playindex:0 (int类型)

playtype:0 (int类型,0=单独播放,播放完成直接关闭。1=单独循环播放。2=列表播放,播放完列表关闭)333