学有义方

FailedToRead c989d79ca1 1.删除push 2 years ago
.idea c989d79ca1 1.删除push 2 years ago
app c989d79ca1 1.删除push 2 years ago
gradle 7cc4f9c566 1.修改包名等 3 years ago
push c989d79ca1 1.删除push 2 years ago
.gitignore 21f692bf53 1.提交移动端8.0android框架到学有义方 4 years ago
README.md 242c0aeb23 test 3 years ago
build.gradle c989d79ca1 1.删除push 2 years ago
gradle.properties 7cc4f9c566 1.修改包名等 3 years ago
gradlew 21f692bf53 1.提交移动端8.0android框架到学有义方 4 years ago
gradlew.bat 21f692bf53 1.提交移动端8.0android框架到学有义方 4 years ago
settings.gradle c989d79ca1 1.删除push 2 years ago

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=列表播放,播放完列表关闭)111