开票申请
This commit is contained in:
parent
89eb4d52e8
commit
aad7852e64
|
@ -405,12 +405,6 @@ public class ComplianceSupplierServiceImpl extends BaseService<ComplianceSupplie
|
|||
|
||||
private String getToken() {
|
||||
String token = null;
|
||||
JSONObject sendData = new JSONObject();
|
||||
// 向 JSON 对象中添加键值对
|
||||
sendData.put("client_id", "984fcd60-ea94-4217-9457-dce67b051038");
|
||||
sendData.put("client_secret", "k_b1E3YUIGv!PtiaeY$JR_Jb&lJ*0FTy");
|
||||
sendData.put("resource", "webservice1");
|
||||
sendData.put("grant_type", "client_credentials");
|
||||
|
||||
String tokenResult = HttpRequest.post("https://10.0.3.120/LN.Webservices/api/oauth2/token").// todo 正式
|
||||
header("Accept", "application/json").
|
||||
|
|
Loading…
Reference in New Issue