Giter VIP home page Giter VIP logo

miniapp's People

Contributors

bringwu avatar brooklet avatar dafeizizhu avatar diamondloler avatar duzhanneng avatar fishfourteen avatar liaozhuojie avatar mogewcy avatar plc13141314 avatar zrs21vaan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

miniapp's Issues

关于框架

使用react的时候是直接照搬使用吗?跟平常的react开发有什么区别吗

请问开放API 现在是否还可用?

请问开放API 现在是否还可用?websocket方式连接后,
发送订阅消息后能接收到首个回复消息,statusCode=200正常,但后续就接受不到订阅的消息了

关于websocket接口问题

  • 环境:chrome浏览器、python的相关websocket client库

  • 现象:使用websocket相关接口时,建立连接后可以正常收到response,但是在过大约一分钟后会自动断开连接,断开连接的返回码显示1006。ws心跳和ping包都有正常发送

是缺少什么相关的配置吗?

关于跨平台的问题

根据那个demo,貌似虎牙小程序的web和手机端是分开的两个项目,那需要主播去存储数据的时候该怎么处理呢?还是说可以把两个项目整合进同一个「虎牙小程序」里?
还有就是web端开发的时候我该怎么设定我小程序本身对于直播页面的大小和定位?

Sent from PPHub For GitHub

websocket 在非浏览器模式下出现BUG,无法连接

虎牙开放接口 https://dev.huya.com/docs/miniapp/dev/open/intro/

websocket 在非浏览器模式下出现BUG,无法连接
比如用c# 控制台程序连接 websocket
var client = new System.Net.WebSockets.ClientWebSocket();
client.ConnectAsync( new Uri( "ws://ws-apiext.huya.com/index.html?do=comm&roomId=201314&appId=xxxxxxxxxxxx&iat=1556265172&exp=1556265772&sToken=eyJhbGciOi" ), CancellationToken.None).Wait();

Error during WebSocket handshake: Unexpected response code: 200 错误
或者出现错误: "服务器返回了状态代码“200”,而状态代码应为“101”。"

需要服务端修复:
参考:https://shentuzhigang.blog.csdn.net/article/details/105537187

Install hyext error

gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` failed Error: not found: python2
gyp verb `which` failed     at getNotFoundError (G:\Library_WEB\node_modules\hye
xt\node_modules\which\which.js:13:12)
gyp verb `which` failed     at F (G:\Library_WEB\node_modules\hyext\node_modules
\which\which.js:68:19)
gyp verb `which` failed     at E (G:\Library_WEB\node_modules\hyext\node_modules
\which\which.js:80:29)
gyp verb `which` failed     at G:\Library_WEB\node_modules\hyext\node_modules\wh
ich\which.js:89:16
gyp verb `which` failed     at G:\Library_WEB\node_modules\hyext\node_modules\is
exe\index.js:42:5
gyp verb `which` failed     at G:\Library_WEB\node_modules\hyext\node_modules\is
exe\windows.js:36:5
gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:153:21)
gyp verb `which` failed  python2 { Error: not found: python2
gyp verb `which` failed     at getNotFoundError (G:\Library_WEB\node_modules\hye
xt\node_modules\which\which.js:13:12)
gyp verb `which` failed     at F (G:\Library_WEB\node_modules\hyext\node_modules
\which\which.js:68:19)
gyp verb `which` failed     at E (G:\Library_WEB\node_modules\hyext\node_modules
\which\which.js:80:29)
gyp verb `which` failed     at G:\Library_WEB\node_modules\hyext\node_modules\wh
ich\which.js:89:16
gyp verb `which` failed     at G:\Library_WEB\node_modules\hyext\node_modules\is
exe\index.js:42:5
gyp verb `which` failed     at G:\Library_WEB\node_modules\hyext\node_modules\is
exe\windows.js:36:5
gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:153:21)
gyp verb `which` failed   stack:
gyp verb `which` failed    'Error: not found: python2\n    at getNotFoundError (
G:\\Library_WEB\\node_modules\\hyext\\node_modules\\which\\which.js:13:12)\n
at F (G:\\Library_WEB\\node_modules\\hyext\\node_modules\\which\\which.js:68:19)
\n    at E (G:\\Library_WEB\\node_modules\\hyext\\node_modules\\which\\which.js:
80:29)\n    at G:\\Library_WEB\\node_modules\\hyext\\node_modules\\which\\which.
js:89:16\n    at G:\\Library_WEB\\node_modules\\hyext\\node_modules\\isexe\\inde
x.js:42:5\n    at G:\\Library_WEB\\node_modules\\hyext\\node_modules\\isexe\\win
dows.js:36:5\n    at FSReqWrap.oncomplete (fs.js:153:21)',
gyp verb `which` failed   code: 'ENOENT' }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` succeeded python D:\Python\Python37\python.EXE
gyp ERR! configure error
gyp ERR! stack Error: Command failed: D:\Python\Python37\python.EXE -c import sy
s; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack   File "<string>", line 1
gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack                                ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack     at ChildProcess.exithandler (child_process.js:294:12)
gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_proces
s.js:259:5)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "G:\\Library_WEB\\node_mo
dules\\hyext\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "-
-libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd G:\Library_WEB\node_modules\hyext\node_modules\node-sass
gyp ERR! node -v v10.16.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\hye
xt\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@
1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}
)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     G:\Library_WEB\cache\_logs\2019-07-13T02_28_47_801Z-debug.log

后端开发

请问后端的数据库是怎么建的?还有跟前端怎么交互呢?我有看到hyExt.backend.commonQuery这个接口,这个接口是通过key和param来调用后端的接口嘛?如果是的话,后端这边要用什么框架来跟前端请求映射呢?

无法跳转直播间

在操作台中点击跳转直播间,跳转链接为:

https://www.huya.com/0

点击后提示

哎呀,主播直播间地址已更换为 https://www.huya.com/10830611

再次跳转后提示:

哎呀,虎牙君找不到这个主播,要不搜索看看?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.