README.md 881 Bytes

命令行

查看参数

go run main.go -h

命令行运行

go run main.go -key fbb416bfd0a242419e6528f2 -iv 0f6ce46636264d66 -ip http://47.110.250.177:20000/ -bussiness_code AUTHORIZE -ptCode 730088256896503808 -reqBody '{"response_type":"code","client_id":"432437055486697481","redirect_uri":"https://dev3.workai.com.cn/wso-workai?state=socialwork_strait_certification_list","state":"client_credential","scope":"global_access:end_user","user_mobile":"13301169757","user_name":"sasl_dispose","callback":"","certification":"0","ptcode":"730088256896503808","path_type":"","path":""}' -privateKeyPath /Users/macbook/go/src/socialwork-sdk/main/private.pem -publicKeyPath /Users/macbook/go/src/socialwork-sdk/main/public.pem -errFilePath /Users/macbook/go/src/socialwork-sdk/main/error.txt -resultFilePath /Users/macbook/go/src/socialwork-sdk/main/result.txt