Introduction to the Video Component and api of "Small Program JAVA Actual Warfare" (51)
This time, the video component of the applet, which was not mentioned before when we talked about the basis of the applet, now. From the attributes and api s. No.15 in https://github.com/limingios/wxProgram.git
Video component
Introduction to official website>https://developers.weixin.qq.com/miniprogram/dev/component/video.html
demo
funct ...
Posted by delhiris on Mon, 07 Oct 2019 18:19:09 -0700
Springboot version mybatis reverse generation tool (32)
Our entire project has been built and tiered, and now we need a tool to reverse our entire database to pojo and mybatis classes. Source: wx-spring boot in https://github.com/limingios/wxProgram.git
Code generator
Reverse generation of pojo and mybatis corresponding to mysql does not affect existing business logic through a single project.
Myb ...
Posted by snafudawn on Mon, 07 Oct 2019 16:23:18 -0700
How to encapsulate axios with vue!
How to package axios with vue
This project needs to add validation code before login. In order to facilitate the distinction between request interfaces, it can encapsulate two request interfaces, one is required before login, and the other is requested after login, so that they do not interfere with ...
Posted by atitthaker on Sun, 06 Oct 2019 23:09:09 -0700
"Small Program JAVA Actual Warfare" Small Program Registration and Backend Debugging (35)
The registration interface of spring boot in the back end of the applet has been completed. The next step is to modify the front-end request of the applet. I mentioned the api of wx.request before. Source: wx-spring boot and No.15 in https://github.com/limingios/wxProgram.git
Registration and back-end debugging
Define the path of the back-end ...
Posted by subwiz on Sun, 06 Oct 2019 22:15:42 -0700
"Small Program JAVA Actual Warfare" Small Program Multimedia Component (27)
Let's talk about the multimedia component of the applet. Source: No.14 in https://github.com/limingios/wxProgram.git
Media components
audio
You can embed some music, songs, mp3 or something in a small program.
image
Picture components are bound to be used in any small program
* video
Video components, main video playback classes
camera ...
Posted by Jiraiya on Sun, 06 Oct 2019 20:08:32 -0700
Android Advanced Components
This chapter will introduce the content of setting up UI for XML:
Tab Host, tabWidget, FrameLayout
Image Switcher
GridView
Tab Host, tabWidget, FrameLayout
Previously, I have written two ways to implement tags. Although the top tag of this article is different from the previous two, it is much the s ...
Posted by camadan on Sun, 06 Oct 2019 17:35:10 -0700
(NLP): 07 fastText training Chinese model text categorization
Two other ways to install fastText
conda install mode: slow
https://anaconda.org/conda-forge/fasttext
windows version can be installed through WHL (fasttext 0.9.1 cp36 cp36m win32.whl), which can be used under windows.
https://www.lfd.uci.edu/~gohlke/pythonlibs/#fasttext
fastText Training
import fas ...
Posted by Unforgiven on Sun, 06 Oct 2019 11:44:46 -0700
Select Control Based on Element UI to Realize Single Line Display in Multi-Choice Box-Moving Left and Right
The main function of the control is to display multiple tags in a single line, and to move tags in components by using left and right keys.
Code directly:
<el-select
v-model="tags"
ref="tagsSelect"
multiple
filterable
remote
clearable
popper-class="tag-input-options"
:rem ...
Posted by simwiz on Sun, 06 Oct 2019 11:37:46 -0700
The Responsibility Chain Model of javascript
Responsibility chain model
Responsibility chain mode: similar to a domino card, by requesting the first condition, it will continue to perform the following conditions until the result is returned.
if-else statements can be optimized in projects
Scene demo
Scenario: An e-commerce has a preferential policy for users who have paid a deposit. Afte ...
Posted by jdesilva on Sat, 05 Oct 2019 19:44:13 -0700
Return to Map in Mybatis
In Mobile, we usually use the following:
Returns a result
User selectOne(User user);
<select id="selectOne" parameterType="cn.lyn4ever.entity.User" resultType="cn.lyn4ever.entity.User">
select id,username,telphone from user where telphone=#{telphone} and password = #{password}
</select>
Returns multiple results (in f ...
Posted by ashleek007 on Sat, 05 Oct 2019 15:11:18 -0700