摘要: 在前后端分离开发中,配置Swagger 可以免写接口文档,大大减少工作量,Swagger 简洁高效,官网地址:https://swagger.io/,本篇博客介绍如何在.NET Core WebApi 中配置 Swagger 官方教程:https://docs.microsoft.com/zh-cn 阅读全文
posted @ 2020-05-08 12:04 Wahaha、 阅读(1243) 评论(0) 推荐(0) 编辑
摘要: 微信小程序在与后台交互数据过程中,敏感数据需要加解密,本篇博客介绍在微信小程序中如何使用 crypto.js 中的 AES 算法加解密数据使用crypto.js加解密详解:https://blog.csdn.net/Umbrella_Um/article/details/99686988AES加密算法的详细介绍与实现:https://blog.csdn.net/qq_28205153/articl... 阅读全文
posted @ 2020-04-28 12:06 Wahaha、 阅读(7974) 评论(0) 推荐(0) 编辑
摘要: 微信小程序开发过程中,经常会用到 wx:request 方法发起HTTPS网络请求来调用后台的接口方法,过多的调用会产生代码冗余,本篇博客介绍如何在微信小程序中封装HTTPS接口请求wx:request官方文档:https://developers.weixin.qq.com/miniprogram 阅读全文
posted @ 2020-04-16 10:10 Wahaha、 阅读(2317) 评论(0) 推荐(0) 编辑
摘要: 本篇博客介绍如何在微信小程序中实现搜索功能 微信小程序官方提供 Searchbar 搜索组件: https://developers.weixin.qq.com/miniprogram/dev/extended/weui/search.html 该样式和功能有时并不能满足开发者,本篇博客不使用该组件 阅读全文
posted @ 2020-04-15 10:51 Wahaha、 阅读(20039) 评论(9) 推荐(4) 编辑
摘要: 简介 wx.getUserInfo接口获取用户信息官方文档介绍: https://developers.weixin.qq.com/miniprogram/dev/api/open-api/user-info/wx.getUserInfo.html 在调用wx.getUserInfo接口之前需要用户 阅读全文
posted @ 2020-04-13 17:01 Wahaha、 阅读(13144) 评论(0) 推荐(0) 编辑
摘要: 本篇博客介绍在微信小程序中自定义组件时需要的注意事项,以自定义select下拉选项卡为例 自定义组件官方文档介绍:https://developers.weixin.qq.com/miniprogram/dev/framework/custom-component/ Component组件官方文档介 阅读全文
posted @ 2020-04-10 11:15 Wahaha、 阅读(1402) 评论(0) 推荐(0) 编辑
摘要: 本篇博客介绍在微信小程序中如何自定义选项卡 效果如下: shopping.wxml: <view class='topTabSwiper'> <view class='tab {{currentData == 0 ? "tabBorer" : ""}}' data-current="0" bindt 阅读全文
posted @ 2020-04-08 15:52 Wahaha、 阅读(901) 评论(0) 推荐(0) 编辑
摘要: 注意事项 https://uniapp.dcloud.io/frame?id=template-block官方推荐:v-if写在<template/>标签中,v-for写在<block/>标签中它们仅仅是一个包装元素,不会在页面中做任何渲染,只接受控制属性 https://uniapp.dcloud 阅读全文
posted @ 2020-01-17 10:29 Wahaha、 阅读(5391) 评论(0) 推荐(2) 编辑
摘要: uni-app官网背景图片介绍:https://uniapp.dcloud.io/frame?id=%e8%83%8c%e6%99%af%e5%9b%be%e7%89%87 uni-app官网介绍,插入本地背景图片超过40kb时,会有性能问题,若必须使用,可将图片转换成base64格式后使用,或将图 阅读全文
posted @ 2020-01-08 17:04 Wahaha、 阅读(3577) 评论(0) 推荐(0) 编辑
摘要: 在asp.net mvc中可以轻松使用Html.RenderAction创建局部视图,但在asp.net core中不支持@html.Action()方法,转而使用ViewComponent,本篇博客介绍如何在.net core中使用ViewComponent视图组件 添加GiftViewCompo 阅读全文
posted @ 2020-01-07 15:17 Wahaha、 阅读(710) 评论(0) 推荐(0) 编辑