Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
W
wiki-php
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • 互联网应用开发
  • wiki-php
  • Wiki
  • 360safeguardnativeapi

360safeguardnativeapi · Changes

Page history
wangqs created page: 360safeguardnativeapi authored Jan 18, 2018 by 互联网应用开发's avatar 互联网应用开发
Show whitespace changes
Inline Side-by-side
Showing with 22 additions and 0 deletions
+22 -0
  • 360safeguardnativeapi.md 360safeguardnativeapi.md +22 -0
  • No files found.
360safeguardnativeapi.md
View page @ 7a1fd490
...@@ -167,3 +167,25 @@ alipay.pay({ ...@@ -167,3 +167,25 @@ alipay.pay({
}); });
``` ```
#### 微信支付
需要版本号大于等于 124
调起支付宝进行支付
```javascript
var wxpay = new NativeWxpay();
//设置支付成功回调
wxpay.setOnSuccess(function(orderNo){
alert(orderNo);
});
//设置支付失败回调
wxpay.setOnFailed(function(){
alert("支付失败");
});
//支付,,pay的参数,会原封不动的传给服务端 /s360guardian/pay/api?action=get_alipay_info
wxpay.pay({
"type":"name_search",
"company_name_digest":"fasdfalku3",
"name":"王二麻"
});
```
\ No newline at end of file
Clone repository
  • 360safeguardnativeapi
  • all new classmate
  • bind phone
  • code standard
  • deploy_sys
  • edit common
  • edit master
  • envrioment
  • find psw
  • front new classmate
  • front statck
  • git
  • Home
  • idcard md5
  • ide
View All Pages