|
@@ -137,21 +137,10 @@ export default {
|
|
|
const { appid } = this;
|
|
const { appid } = this;
|
|
|
const returnUrlLeft =
|
|
const returnUrlLeft =
|
|
|
window.location.origin + window.location.pathname + "#/counter?";
|
|
window.location.origin + window.location.pathname + "#/counter?";
|
|
|
- // 1. 拿到所有的当前路由的参数
|
|
|
|
|
const allQuery = this.$utils.getAllQueryString();
|
|
const allQuery = this.$utils.getAllQueryString();
|
|
|
// 2. 将需要的参数拼接
|
|
// 2. 将需要的参数拼接
|
|
|
const queryString = this.$utils.queryStringUtil({
|
|
const queryString = this.$utils.queryStringUtil({
|
|
|
amount,
|
|
amount,
|
|
|
- appid,
|
|
|
|
|
- cp_order_id,
|
|
|
|
|
- goods_id,
|
|
|
|
|
- goods_name,
|
|
|
|
|
- platform: allQuery.platform,
|
|
|
|
|
- role_name,
|
|
|
|
|
- role_id,
|
|
|
|
|
- server_id,
|
|
|
|
|
- server_name,
|
|
|
|
|
- pay_type,
|
|
|
|
|
pay_platform,
|
|
pay_platform,
|
|
|
pay: "game",
|
|
pay: "game",
|
|
|
});
|
|
});
|
|
@@ -203,21 +192,9 @@ export default {
|
|
|
const returnUrlLeft =
|
|
const returnUrlLeft =
|
|
|
window.location.origin + window.location.pathname + "#/counter?";
|
|
window.location.origin + window.location.pathname + "#/counter?";
|
|
|
|
|
|
|
|
- // 1. 拿到所有的当前路由的参数
|
|
|
|
|
- const allQuery = this.$utils.getAllQueryString();
|
|
|
|
|
// 2. 将需要的参数拼接
|
|
// 2. 将需要的参数拼接
|
|
|
const queryString = this.$utils.queryStringUtil({
|
|
const queryString = this.$utils.queryStringUtil({
|
|
|
amount,
|
|
amount,
|
|
|
- appid,
|
|
|
|
|
- cp_order_id,
|
|
|
|
|
- goods_id,
|
|
|
|
|
- goods_name,
|
|
|
|
|
- platform: allQuery.platform,
|
|
|
|
|
- role_name,
|
|
|
|
|
- role_id,
|
|
|
|
|
- server_id,
|
|
|
|
|
- server_name,
|
|
|
|
|
- pay_type,
|
|
|
|
|
pay_platform,
|
|
pay_platform,
|
|
|
pay: "game",
|
|
pay: "game",
|
|
|
});
|
|
});
|