소스 검색

[广东版 3.2.2]

tags/广东版3.2.2最终版
meo 6 년 전
부모
커밋
55f790326d
3개의 변경된 파일7개의 추가작업 그리고 9개의 파일을 삭제
  1. +3
    -3
      config/config.js
  2. +3
    -5
      pages/cardorder/index/index.js
  3. +1
    -1
      project.config.json

+ 3
- 3
config/config.js 파일 보기

@@ -2,8 +2,8 @@ var extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {};
var appId = extConfig.appId;
var config = {
// url: "https://ciformall.youlane.cn/C/api",
// url:"https://c.malls.iformall.com/C/api",
url:'https://ctest.malls.iformall.com/C/api',
url:"https://c.malls.iformall.com/C/api",
// url:'https://ctest.malls.iformall.com/C/api',
// url:'http://10.100.33.68:7000/C/api',
// url: 'http://202.165.179.86:4000/C/api',
api: {
@@ -203,7 +203,7 @@ var config = {
},

weapp: {
AppId: "wx649b3be73c1afe47"
AppId: "wx30caec1cc16c4634"
},
ErrorCode: {


+ 3
- 5
pages/cardorder/index/index.js 파일 보기

@@ -54,17 +54,15 @@ Page({
let that = this;
wx.scanCode({
success: (res) => {
console.log(JSON.parse(res.result).merchant_id_scan)
let merchant_id_scan = JSON.parse(res.result).merchant_id_scan;
if(merchant_id_scan){
console.log(res.result.indexOf('merchant_id_scan'))
if(res.result.indexOf('merchant_id_scan')!=-1){
Http.get({
url: config.api.findByCode,
data: {
merchantCode: merchant_id_scan,
merchantCode: JSON.parse(res.result).merchant_id_scan,
}
})
.then(res => {
console.log(res);
if (res.code == 200) {
let merChantDetail = JSON.stringify(res.data);
if (merChantDetail && e.currentTarget.dataset.cardid && e.currentTarget.dataset.remainingamount) {


+ 1
- 1
project.config.json 파일 보기

@@ -13,7 +13,7 @@
},
"compileType": "miniprogram",
"libVersion": "2.0.9",
"appid": "wx649b3be73c1afe47",
"appid": "wx30caec1cc16c4634",
"projectname": "C",
"isGameTourist": false,
"condition": {


불러오는 중...
취소
저장