Authored by baoss

request增加app_build参数 review by bevishuang

... ... @@ -19,7 +19,7 @@ export const MINI_QR_TYPE = 16;
export const OS_VERSION = 'yohobuy:h5';
export const APP_VERSION = '2.9.0';
export const APP_BUILD = '1041';
export const APP_BUILD = '1042';
export const PRIVATE_KEY = 'b43890b0a296ff3c7b8c260ca763980b';
export const CLIENT_TYPE = 'miniapp';
... ...
... ... @@ -4,7 +4,7 @@ import objectAssign from '../vendors/object-assign';
import trimObject from '../utils/trimObject';
import queryString from '../vendors/query-string';
import { getYHStorageSync } from '../utils/util';
import {API_HOST,APP_VERSION, CLIENT_TYPE, PRIVATE_KEY} from '../libs/config';
import {API_HOST,APP_VERSION, APP_BUILD, CLIENT_TYPE, PRIVATE_KEY} from '../libs/config';
import appReport from './appReport';
let crypto = require('./cryptojs/cryptojs.js').Crypto
... ... @@ -302,6 +302,7 @@ function uploadLogData(method = 'POST') {
function _publicParams() {
let app_version = APP_VERSION;
let app_build = APP_BUILD;
let os_version = '';
let client_type = CLIENT_TYPE;
let screen_size = '';
... ... @@ -318,6 +319,7 @@ function _publicParams() {
return {
app_version,
app_build,
os_version,
client_type,
screen_size,
... ...