GithubHelp home page GithubHelp logo

v2b-theme-sleek's Introduction

V2b-Theme-Sleek

前后端分离主题 可搭建多个前端应用
请注意同源策略

安装教程

  • 后端:修改v2b后端支付回调文件

    前后端分离重要步骤

    • 进入目录 app/Services/PaymentService.php

    • 文件第50行 'return_url' => config('v2board.app_url') . '/#/order/' . $order['trade_no'],

    • 修改成: 'return_url' => $_SERVER['HTTP_ORIGIN'] . "/#/dashboard",


  • 前端:正常解析一个网址到解析目录 下载前端文件放置解析根目录

    前端配置部分都在config.js 文件里

    • 修改config.js的hosturl 填写后端网址 https://xxxx.xx/ 格式
    • 在线客服请到index.html里插入代码
    • 网页标题和svg都在index.html 自行更改 有能力的可自行混淆config.js 文件

注意事项

  • v2b后台的邀请限制不要为0 不然会报错
  • 用https 不然某些功能用不了
  • 注意cors策略!!

产品演示(部分)

v2b-theme-sleek's People

Contributors

binglog avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.