一.系统介绍

此系统是一款基于likeadmin-JAVA开发的商城系统,支持终端微信小程序 + 微信公众号 + H5网页 + PC管理后台;全部前后台无加密

二.搭建环境教程

系统环境:CentOS、

运行环境:宝塔 Linux

网站环境:Nginx 1.26 + MySQL 5.7.46 + PHP8.0

常见插件:fileinfo ; redis

这套系统的VUE的代码:

<script setup lang="ts">
import { onLaunch } from '@dcloudio/uni-app'
import { useAppStore } from './stores/app'
import { useUserStore } from './stores/user'
import { apiIndexVisit } from '@/api/app'
import { getClient } from '@/utils/client'
import { useThemeStore } from './stores/theme'
import { useLocation } from '@/hooks/useLocation'

const { getConfig, getSystemInfo, getKefuInfo } = useAppStore()
const { getUser } = useUserStore()
const { getTheme } = useThemeStore()
const { getLocationData } = useLocation()

onLaunch(async () => {
    await getConfig()
    await getTheme()
    getSystemInfo()
    getLocationData()
    // #ifdef H5
    // const { status, page_status, page_url } = appStore.getH5Config
    // if (status == 0) {
    // 	if (page_status == 1) return (location.href = page_url)
    // 	uni.reLaunch({ url: '/pages/empty/empty' })
    // }
    // #endif
    await getUser()
    await apiIndexVisit({
        terminal: getClient()
    })
    getKefuInfo()
})
</script>
<style lang="scss">
//
</style>

Logo

电商企业物流数字化转型必备!快递鸟 API 接口,72 小时快速完成物流系统集成。全流程实战1V1指导,营造开放的API技术生态圈。

更多推荐