Tag:Traditional Chinese

  • Applet login, mobile phone number decryption, message subscription

    Time:2021-11-12

    Applet login Import dependency <!– Ali JSON parser — > <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> </dependency> <dependency> <groupId>com.squareup.okhttp3</groupId> <artifactId>okhttp</artifactId> <version>3.10.0</version> </dependency> Core code @Override @Transactional public ApiRe miniLogin(String jsCode) throws Exception { ApiRe re = new ApiRe(); UserDTO userDTO = null; OkHttpClient okHttpClient = new OkHttpClient(); String body = okHttpClient.newCall(new Request.Builder() .url(” https://api.weixin.qq.com/sns/jscode2session?appid= “+” own appid “+ […]

  • Vue3.0 implements the native highly customizable menu component vue3 menu

    Time:2021-10-30

    vue3-menus Vue3.0 custom right-click menu Vue3.0 natively implements a fully customized right-click menu component with zero dependency. It can automatically adjust the display position according to the visual area, and can support the slot to completely rewrite each menu Project address GitHub Gitee Online demonstration Full menu function demonstration Copy and paste presentation express setup […]

  • Implementing multi language switching in IOS

    Time:2020-6-15

    preface In our daily use of apps, only Chinese is enough. However, if our app is international oriented, then multiple languages are essential. This paper summarizes the implementation of multi language in IOS. preparation Add supported languages Select project, under infoLocalizationsClick the plus sign to add the supported languages Create strings file Method 1. Select […]