Skip to content

Commit

Permalink
信用卡 极速贷 获取id
Browse files Browse the repository at this point in the history
  • Loading branch information
lsb1996 committed Mar 26, 2018
1 parent c5a5abe commit bdbccda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/3-00-List.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Button, message } from "antd";
import Router from "next/router";
import { cache, getCookie } from "@utils";
import { http, cache, getCookie } from "@utils";

export default ({ item }) => {
function onGo() {
Expand Down Expand Up @@ -40,7 +40,7 @@ export default ({ item }) => {
});
return;
}

http.get(`card/apply/${item.id}`);
window.open(item.pc_outside_link);
}
return (
Expand Down
2 changes: 1 addition & 1 deletion pages/1-loan/6-speed-detail.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export default class extends Component {
);
}
if (type === 1) {
http.post("loans/top_speed_apply", { id });
http.get(`loans/top_speed_apply/${id}`);
this.setState(() => ({ showQrcode: true }));
}
return null;
Expand Down

0 comments on commit bdbccda

Please sign in to comment.