Skip to content

Commit

Permalink
集成鲨鱼免签约支付
Browse files Browse the repository at this point in the history
  • Loading branch information
assimon committed Oct 18, 2018
1 parent 7d49dcb commit b4369a1
Show file tree
Hide file tree
Showing 6 changed files with 194 additions and 143 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
install/install.lock
logs/*
app/db.php
/nbproject/private/
/nbproject
4 changes: 4 additions & 0 deletions app/controller/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ public function postOrder()
case 'alipay':
$html.= "<a href=\"/pay/index?id=".$orderid."&type=alipay&paycode=".$v['code']."\" class=\"am-btn am-btn-warning am-round am-icon-credit-card-alt\">支付宝即时到账</a>";
break;
case 'syzf':
$html.= "<a href=\"/pay/index?id=".$orderid."&type=zfbqr&paycode=".$v['code']."\" class=\"am-btn am-btn-warning am-round am-icon-credit-card-alt\">支付宝</a>";
$html.= "<a href=\"/pay/index?id=".$orderid."&type=wxqr&paycode=".$v['code']."\" class=\"am-btn am-btn-warning am-round am-icon-credit-card-alt\">微信</a>";
break;
}
}
}
Expand Down
Loading

0 comments on commit b4369a1

Please sign in to comment.