Commit fb435223 by cwq0219

上线key

1 parent 86b2dc93
......@@ -2,7 +2,7 @@
* @Author: limin
* @Date: 2019-08-26 18:02:41
* @Last Modified by: chenwq
* @Last Modified time: 2020-11-10 20:02:13
* @Last Modified time: 2020-11-27 17:51:03
*/
import axios from '@/plugin/axios'
......@@ -11,7 +11,7 @@ import RequestMethods from './request.methods'
import util from '@/libs/util.js'
const request = (params = {}, method = RequestMethods.GET, noSignAttr = []) => {
// params.source = 'glsx'
params.appKey = '48e5e13229b82c1b4e6e8c96151f0637'
params.appKey = 'd7ffc3346fc9a45bccaaa35300d59022'
params.timestamp = new Date().getTime()
params.v = '1.0.0'
params.format = 'json'
......
......@@ -2,11 +2,11 @@
* @Author: limin
* @Date: 2019-08-26 18:02:49
* @Last Modified by: chenwq
* @Last Modified time: 2020-11-10 15:00:08
* @Last Modified time: 2020-11-27 17:50:34
*/
import sha1 from 'sha1'
import qs from 'qs'
const secret = 'c24619ed7fef02a0ae16328146bca5f97cc6493957a2137b'
const secret = '4bc07f8868374c49a4661d603377e3106fc9a45bccaaa353'
const sign = (params, noSignAttr = []) => {
delete params.sign
var objStr = qs.stringify(_.cloneDeep(params), { arrayFormat: 'indices', encode: false, allowDots: true })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!