create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
# 用Ruby来写一下如何用后端请求京东支付的创建订单API,而不是用京东官方文档推荐的使用前端来组成一个Form表单,这样写的优势是能和支付宝形成统一的逻辑。 | |
# 思路适用所有语言。 | |
# 非官方SDK:https://github.com/jasl/wx_pay,目前我公司在使用,但有个TODO是我要修复新用户的redirect,用下面我使用的方案,之前的方案有疏漏。PR会稍后开启。 | |
params = { | |
# 请按照官方文档组合 | |
} | |
# url = https://h5pay.jd.com/jdpay/saveOrder or https://wepay.jd.com/jdpay/saveOrder | |
WEB_BASE_URL = 'https://wepay.jd.com' |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
package main | |
// using asymmetric crypto/RSA keys | |
import ( | |
"crypto/rsa" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" |
package main | |
import ( | |
"crypto" | |
"crypto/rand" | |
"crypto/rsa" | |
"crypto/sha256" | |
"crypto/x509" | |
"encoding/base64" | |
"encoding/pem" |
###安装PHP7环境### 安装参考文档
$ git clone https://github.com/rlerdorf/php7dev.git
...
$ cd php7dev
...
$ vagrant up
1.资产收藏API功能:
1)获取收藏的资产
2)添加收藏
3)取消收藏
4)改变收藏的顺序
数据库UML