|
|
@@ -126,7 +126,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
-import { $sendVerificationCode, $unbindPhone, $bindPhone, $signContractQuery } from '@/service/pay'
|
|
|
+import { $sendVerificationCode, $unbindPhone, $bindPhone } from '@/service/pay'
|
|
|
export default {
|
|
|
name: 'authorize',
|
|
|
data() {
|
|
|
@@ -284,11 +284,10 @@ export default {
|
|
|
jumpUrl: window.location.href,
|
|
|
source: 2
|
|
|
}
|
|
|
- $signContractQuery(params).then(res => {
|
|
|
- if (res.code === 0) {
|
|
|
- window.location.href = res.data
|
|
|
- }
|
|
|
- })
|
|
|
+ this.$http(this.$interfaces.pay.query_withdraw_protocol, params)
|
|
|
+ .then(res => {
|
|
|
+ window.location.href = res
|
|
|
+ })
|
|
|
} else {
|
|
|
const params = {
|
|
|
source: 2,
|