Commit 08b23cc2 by 李伟康

提交

1 parent 4b10b2ec
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
"build": "^0.1.4", "build": "^0.1.4",
"core-js": "^3.6.4", "core-js": "^3.6.4",
"dayjs": "^1.10.5", "dayjs": "^1.10.5",
"glsx-common": "^1.4.9", "glsx-common": "^2.1.0",
"lib-flexible": "^0.3.2", "lib-flexible": "^0.3.2",
"number-precision": "^1.6.0", "number-precision": "^1.6.0",
"postcss-loader": "^6.2.0", "postcss-loader": "^6.2.0",
......
...@@ -29,10 +29,12 @@ ...@@ -29,10 +29,12 @@
<template v-if="detail.isStaffLoginLink"> <template v-if="detail.isStaffLoginLink">
<template v-if="supportOpenLaunch"> <template v-if="supportOpenLaunch">
员工注册 员工注册
<!-- 文档地址: https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_Open_Tag.html#21 -->
<wx-open-launch-weapp <wx-open-launch-weapp
class="mini" class="mini"
:path="path" :appid="miniprogramInfo.appid"
:username="miniprogramInfo.username" :username="miniprogramInfo.username"
:path="path"
:env-version="miniprogramInfo.envVersion" :env-version="miniprogramInfo.envVersion"
> >
<script type="text/wxtag-template"> <script type="text/wxtag-template">
......
"use strict";
/*
* @Descripttion:
* @version:
* @Author: limin
* @Date: 2021-06-07 14:12:32
* @LastEditors: limin
* @LastEditTime: 2022-09-23 16:48:50
*/
// 本地环境配置
module.exports = {
title: '加载中...',
request: {
baseURL: '//scrm.test.glsx.com.cn',
// 本地测试项目地址,
// 设置超时时间
timeout: 180000,
// 携带凭证
withCredentials: true,
// 返回数据类型
responseType: 'json'
},
response: {
data_key: 'data',
message_key: 'message',
code_key: 'code',
code_success_value: '0',
errId_logout_value: '21',
logout_function: 'reLogin',
code_message_map: {}
},
secret: 'c24619ed7fef02a0ae16328146bca5f97cc6493957a2137b',
miniprogramInfo: {
appid: 'wxe10067a63c1856ac',
//wxe10067a63c1856ac :车生活助手 //wx9f91c1ec493eb425 :预发布
username: 'gh_e983752bf563',
envVersion: 'trial'
},
// shopmall_id: "gh_e983752bf563", //嘀加
appid: 'wx1cf40dc91c28a7fd',
//公众号appid 云商 wx1cf40dc91c28a7fd test02 wx56bed167ad463f70
sign: {
appKey: '48e5e13229b82c1b4e6e8c96151f0637',
format: 'json',
locale: 'zh_CN',
source: 'scrm-main',
v: '1.0.0'
},
vconsole: true
};
\ No newline at end of file \ No newline at end of file
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
module.exports = { module.exports = {
title: '加载中...', title: '加载中...',
request: { request: {
baseURL: 'http://scrm.test.glsx.com.cn', // 本地测试项目地址, baseURL: '//scrm.test.glsx.com.cn', // 本地测试项目地址,
// 设置超时时间 // 设置超时时间
timeout: 180000, timeout: 180000,
// 携带凭证 // 携带凭证
...@@ -29,6 +29,7 @@ module.exports = { ...@@ -29,6 +29,7 @@ module.exports = {
}, },
secret: 'c24619ed7fef02a0ae16328146bca5f97cc6493957a2137b', secret: 'c24619ed7fef02a0ae16328146bca5f97cc6493957a2137b',
miniprogramInfo: { miniprogramInfo: {
appid: 'wxe10067a63c1856ac', //wxe10067a63c1856ac :车生活助手 //wx9f91c1ec493eb425 :预发布
username: 'gh_e983752bf563', username: 'gh_e983752bf563',
envVersion: 'trial', envVersion: 'trial',
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!