茶溢 3 years ago
parent
commit
53367da524
  1. 4
      api/request.js
  2. 12
      manifest.json
  3. 2
      pages/account/settings.vue

4
api/request.js

@ -16,8 +16,8 @@ const httpRequest = (params) => {
const json_data = { const json_data = {
appcode: 'DOPE+', //应用编码 appcode: 'DOPE+', //应用编码
appchannel: 'DOPEFACEBOOK', //应用发布渠道 appchannel: 'DOPEGOOGLE', //应用发布渠道
appver: '1.1.0', //应用版本 appver: '1.3.0', //应用版本
appname: 'cnic_buyer', //应用名称 appname: 'cnic_buyer', //应用名称
manufacturer: 'HUAWEI', //设备生产商 manufacturer: 'HUAWEI', //设备生产商
phonebrand: 'HORNOR', //设备品牌 phonebrand: 'HORNOR', //设备品牌

12
manifest.json

@ -1,16 +1,16 @@
{ {
"name" : "DopePlus", "name" : "DopePlus",
"appid" : "__UNI__9088064", "appid" : "__UNI__EA8CB08",
// "appid" : "__UNI__7D4CA0F", // "appid" : "__UNI__7D4CA0F",__UNI__9088064
"description" : "", "description" : "",
"versionName" : "1.1.0", "versionName" : "1.3.0",
"versionCode" : 120, "versionCode" : 200,
"transformPx" : false, "transformPx" : false,
// "targetSdkVersion" : 31, // "targetSdkVersion" : 31,
"channel_list" : [ "channel_list" : [
{ {
"id" : "DOPEGOOLGLE", "id" : "DOPEGOOGLE",
"name" : "DOPEGOOLGLE" "name" : "DOPEGOOGLE"
} }
], ],
/* 5+App */ /* 5+App */

2
pages/account/settings.vue

@ -154,7 +154,7 @@
let e = uni.getStorageSync('appdata') let e = uni.getStorageSync('appdata')
console.log(e) console.log(e)
if (!res.data.ver_name) { if (!res.data.ver_name) {
e.appver = '1.2.0' // e.appver = '1.3.0'
that.appver = e.appver that.appver = e.appver
uni.setStorageSync('appver', e.appver) uni.setStorageSync('appver', e.appver)
uni.getStorageSync('appver', e.appver) uni.getStorageSync('appver', e.appver)

Loading…
Cancel
Save