| | |
| | | package com.doumee.core.utils; |
| | | |
| | | import com.google.zxing.common.BitMatrix; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.fileupload.FileItem; |
| | | import org.apache.commons.fileupload.FileItemFactory; |
| | | import org.apache.commons.fileupload.disk.DiskFileItemFactory; |
| | |
| | | import java.math.RoundingMode; |
| | | import java.net.URL; |
| | | |
| | | @Slf4j |
| | | public class GeneratePicUtil { |
| | | |
| | | static String bg="https://shoeslxkj.oss-cn-beijing.aliyuncs.com/file/20230404/SysBaseBackGround/D56231512C0B4A4C9D06B02F9566B0B0.png"; |
| | |
| | | }return null; |
| | | } |
| | | private static BufferedImage getImgIO(InputStream is) { |
| | | if(is ==null){ |
| | | log.error("=============================qrcode error 小程序码为空"); |
| | | } |
| | | try { |
| | | return ImageIO.read(is); |
| | | }catch (Exception e){ |
| | | log.error("=============================qrcode error 小程序码为空11111111111:"+e.getMessage()); |
| | | |
| | | }return null; |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | public static InputStream generateShareImg(String imgurl, InputStream mpCode, String title) { |
| | |
| | | export const loginByPhone = (data) => { |
| | | return request({ |
| | | url: '/web/personnel/loginByPhone', |
| | | datas |
| | | data |
| | | }) |
| | | } |
| | | // 发送验证码 |
| | |
| | | <view class="container"> |
| | | <view style="height: {{clientTop - 2}}px;"></view> |
| | | <view class="search_wrap"> |
| | | <image class="icon" src="../../static/home_ic_search@2x.png" mode="widthFix"></image> |
| | | <input model:value="{{ searchValue }}" placeholder="搜索" type="text" /> |
| | | <view class="container" > |
| | | <view class="search_fix"> |
| | | <view style="height: {{clientTop - 2}}px;"></view> |
| | | <view class="search_wrap"> |
| | | <image class="icon" src="../../static/home_ic_search@2x.png" mode="widthFix"></image> |
| | | <input model:value="{{ searchValue }}" placeholder="搜索" type="text" /> |
| | | </view> |
| | | </view> |
| | | <view class="everyday"> |
| | | <view class="everyday" > |
| | | <view class="header" bindtap="promotionClick"> |
| | | <view class="title">每日上新</view> |
| | | <view class="more"> |
| | |
| | | .search_fix{ |
| | | position: fixed; |
| | | z-index: 10000; |
| | | width: 100%; |
| | | height: 206rpx; |
| | | background-color: white; |
| | | } |
| | | .search_wrap { |
| | | display: flex; |
| | | align-items: center; |
| | |
| | | .everyday { |
| | | width: 670rpx; |
| | | height: 466rpx; |
| | | margin: 40rpx; |
| | | margin: 206rpx 40rpx; |
| | | background: linear-gradient(180deg, #F2E7E1 0%, #FEFEFD 30%, #FFFFFF 100%), #FFFFFF; |
| | | box-shadow: 0rpx 4rpx 20rpx 0rpx rgba(176, 135, 113, 0.2); |
| | | border-radius: 8rpx; |
| | |
| | | shopId: null, |
| | | shopInfo:{}, |
| | | shopList:[] |
| | | },buo |
| | | }, |
| | | |
| | | /** |
| | | * 生命周期函数--监听页面加载 |
| | |
| | | // export const baseUrl = 'http://192.168.0.135:10027' |
| | | export const baseUrl = 'https://dmtest.ahapp.net/web_interface' // 本地 |
| | | export const baseUrl = 'http://192.168.0.135:10027' |
| | | // export const baseUrl = 'https://dmtest.ahapp.net/web_interface' // 本地 |
| | | // export const baseUrl = 'http://zbtest.ahapp.net/zbom_interface/jx/wechat/' //测试服务器 |
| | | |
| | | // export const imageUrl = 'https://osswebcdn.zbom.com/jiaxuan/images/' |