Commit 8456cead86bbdc75cd4cc525bf810c55e27f2836

Authored by 王强
1 parent d6043274

购好物,代码格式优化~

Showing 1 changed file with 6 additions and 6 deletions
src/main.js
... ... @@ -186,10 +186,10 @@ Vue.prototype.getParams = function(mode) {
186 186 "App-Key": app_key,
187 187 "Timestamp": timestamp,
188 188 "Signature": sha1(app_key + nonce + nonce_str + timestamp),
  189 + "Nonce-Str": nonce_str,
189 190 "Content-Type": "application/x-www-form-urlencoded",
190 191 "Phone-Model": "Wap",
191   - "Version": "1.0.1",
192   - "Nonce-Str": nonce_str
  192 + "Version": "1.0.1"
193 193 },
194 194 sellerCategory: {
195 195 url: "http://wjjh5test.cnlive.com/hqyw.html"
... ... @@ -217,10 +217,10 @@ Vue.prototype.getParams = function(mode) {
217 217 "App-Key": app_key,
218 218 "Timestamp": timestamp,
219 219 "Signature": sha1(app_key + nonce + nonce_str + timestamp),
  220 + "Nonce-Str": nonce_str,
220 221 "Content-Type": "application/x-www-form-urlencoded",
221 222 "Phone-Model": "Wap",
222   - "Version": "1.0.1",
223   - "Nonce-Str": nonce_str
  223 + "Version": "1.0.1"
224 224 },
225 225 sellerCategory: {
226 226 url: "http://wjjh5.cnlive.com/hqyw.html"
... ... @@ -249,10 +249,10 @@ Vue.prototype.getParams = function(mode) {
249 249 "App-Key": app_key,
250 250 "Timestamp": timestamp,
251 251 "Signature": sha1(app_key + nonce + nonce_str + timestamp),
  252 + "Nonce-Str": nonce_str,
252 253 "Content-Type": "application/x-www-form-urlencoded",
253 254 "Phone-Model": "Wap",
254   - "Version": "1.0.1",
255   - "Nonce-Str": nonce_str
  255 + "Version": "1.0.1"
256 256 },
257 257 sellerCategory: {
258 258 url: "http://wjjh5test.cnlive.com/hqyw.html"
... ...