main.tea 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644
  1. import EasySDKKernel;
  2. type @kernel = EasySDKKernel
  3. init(kernel: EasySDKKernel) {
  4. @kernel = kernel;
  5. }
  6. model AlipayOpenPublicMessageContentCreateResponse {
  7. httpBody: string(name='http_body', description='响应原始字符串'),
  8. code: string(name='code'),
  9. msg: string(name='msg'),
  10. subCode: string(name='sub_code'),
  11. subMsg: string(name='sub_msg'),
  12. contentId: string(name='content_id'),
  13. contentUrl: string(name='content_url')
  14. }
  15. model AlipayOpenPublicMessageContentModifyResponse {
  16. httpBody: string(name='http_body', description='响应原始字符串'),
  17. code: string(name='code'),
  18. msg: string(name='msg'),
  19. subCode: string(name='sub_code'),
  20. subMsg: string(name='sub_msg'),
  21. contentId: string(name='content_id'),
  22. contentUrl: string(name='content_url')
  23. }
  24. model AlipayOpenPublicMessageTotalSendResponse {
  25. httpBody: string(name='http_body', description='响应原始字符串'),
  26. code: string(name='code'),
  27. msg: string(name='msg'),
  28. subCode: string(name='sub_code'),
  29. subMsg: string(name='sub_msg'),
  30. messageId: string(name='message_id')
  31. }
  32. model Text {
  33. title: string(name='title'),
  34. content: string(name='content')
  35. }
  36. model Article {
  37. title?: string(name='title'),
  38. desc: string(name='desc'),
  39. imageUrl?: string(name='image_url'),
  40. url: string(name='url'),
  41. actionName?: string(name='action_name')
  42. }
  43. model Keyword {
  44. color: string(name='color'),
  45. value: string(name='value')
  46. }
  47. model Context {
  48. headColor: string(name='head_color'),
  49. url: string(name='url'),
  50. actionName: string(name='action_name'),
  51. keyword1?: Keyword(name='keyword1'),
  52. keyword2?: Keyword(name='keyword2'),
  53. first?: Keyword(name='first'),
  54. remark?: Keyword(name='remark')
  55. }
  56. model Template {
  57. templateId: string(name='template_id'),
  58. context: Context(name='context')
  59. }
  60. model AlipayOpenPublicMessageSingleSendResponse {
  61. httpBody: string(name='http_body', description='响应原始字符串'),
  62. code: string(name='code'),
  63. msg: string(name='msg'),
  64. subCode: string(name='sub_code'),
  65. subMsg: string(name='sub_msg')
  66. }
  67. model AlipayOpenPublicLifeMsgRecallResponse {
  68. httpBody: string(name='http_body', description='响应原始字符串'),
  69. code: string(name='code'),
  70. msg: string(name='msg'),
  71. subCode: string(name='sub_code'),
  72. subMsg: string(name='sub_msg')
  73. }
  74. model AlipayOpenPublicTemplateMessageIndustryModifyResponse {
  75. httpBody: string(name='http_body', description='响应原始字符串'),
  76. code: string(name='code'),
  77. msg: string(name='msg'),
  78. subCode: string(name='sub_code'),
  79. subMsg: string(name='sub_msg')
  80. }
  81. model AlipayOpenPublicSettingCategoryQueryResponse {
  82. httpBody: string(name='http_body', description='响应原始字符串'),
  83. code: string(name='code'),
  84. msg: string(name='msg'),
  85. subCode: string(name='sub_code'),
  86. subMsg: string(name='sub_msg'),
  87. primaryCategory: string(name='primary_category'),
  88. secondaryCategory: string(name='secondary_category')
  89. }
  90. api createImageTextContent(title: string, cover: string, content: string, contentComment: string, ctype: string, benefit: string, extTags: string, loginIds: string): AlipayOpenPublicMessageContentCreateResponse {
  91. var systemParams: map[string]string = {
  92. method = 'alipay.open.public.message.content.create',
  93. app_id = @kernel.getConfig("appId"),
  94. timestamp = @kernel.getTimestamp(),
  95. format = 'json',
  96. version = '1.0',
  97. alipay_sdk = @kernel.getSdkVersion(),
  98. charset = 'UTF-8',
  99. sign_type = @kernel.getConfig("signType"),
  100. app_cert_sn = @kernel.getMerchantCertSN(),
  101. alipay_root_cert_sn = @kernel.getAlipayRootCertSN()
  102. };
  103. var bizParams: map[string]any = {
  104. title = title,
  105. cover = cover,
  106. content = content,
  107. could_comment = contentComment,
  108. ctype = ctype,
  109. benefit = benefit,
  110. ext_tags = extTags,
  111. login_ids = loginIds
  112. };
  113. var textParams: map[string]string = {
  114. };
  115. __request.protocol = @kernel.getConfig("protocol");
  116. __request.method = 'POST';
  117. __request.pathname = '/gateway.do';
  118. __request.headers = {
  119. host = @kernel.getConfig("gatewayHost"),
  120. content-type = 'application/x-www-form-urlencoded;charset=utf-8'
  121. };
  122. __request.query = @kernel.sortMap({
  123. sign = @kernel.sign(systemParams, bizParams, textParams, @kernel.getConfig("merchantPrivateKey")),
  124. ... systemParams,
  125. ... textParams
  126. });
  127. __request.body = @kernel.toUrlEncodedRequestBody(bizParams);
  128. } returns {
  129. var respMap: map[string]any = @kernel.readAsJson(__response, "alipay.open.public.message.content.create");
  130. if (@kernel.isCertMode()) {
  131. if (@kernel.verify(respMap, @kernel.extractAlipayPublicKey(@kernel.getAlipayCertSN(respMap)))) {
  132. return @kernel.toRespModel(respMap);
  133. }
  134. } else {
  135. if (@kernel.verify(respMap, @kernel.getConfig("alipayPublicKey"))) {
  136. return @kernel.toRespModel(respMap);
  137. }
  138. }
  139. throw {
  140. message = '验签失败,请检查支付宝公钥设置是否正确。'
  141. }
  142. } runtime {
  143. ignoreSSL = @kernel.getConfig("ignoreSSL"),
  144. httpProxy = @kernel.getConfig("httpProxy"),
  145. connectTimeout = 15000,
  146. readTimeout = 15000,
  147. retry = {
  148. maxAttempts = 0
  149. }
  150. }
  151. api modifyImageTextContent(contentId: string, title: string, cover: string, content: string, couldComment: string, ctype: string, benefit: string, extTags: string, loginIds: string): AlipayOpenPublicMessageContentModifyResponse {
  152. var systemParams: map[string]string = {
  153. method = 'alipay.open.public.message.content.modify',
  154. app_id = @kernel.getConfig("appId"),
  155. timestamp = @kernel.getTimestamp(),
  156. format = 'json',
  157. version = '1.0',
  158. alipay_sdk = @kernel.getSdkVersion(),
  159. charset = 'UTF-8',
  160. sign_type = @kernel.getConfig("signType"),
  161. app_cert_sn = @kernel.getMerchantCertSN(),
  162. alipay_root_cert_sn = @kernel.getAlipayRootCertSN()
  163. };
  164. var bizParams: map[string]any = {
  165. content_id = contentId,
  166. title = title,
  167. cover = cover,
  168. content = content,
  169. could_comment = couldComment,
  170. ctype = ctype,
  171. benefit = benefit,
  172. ext_tags = extTags,
  173. login_ids = loginIds
  174. };
  175. var textParams: map[string]string = {
  176. };
  177. __request.protocol = @kernel.getConfig("protocol");
  178. __request.method = 'POST';
  179. __request.pathname = '/gateway.do';
  180. __request.headers = {
  181. host = @kernel.getConfig("gatewayHost"),
  182. content-type = 'application/x-www-form-urlencoded;charset=utf-8'
  183. };
  184. __request.query = @kernel.sortMap({
  185. sign = @kernel.sign(systemParams, bizParams, textParams, @kernel.getConfig("merchantPrivateKey")),
  186. ... systemParams,
  187. ... textParams
  188. });
  189. __request.body = @kernel.toUrlEncodedRequestBody(bizParams);
  190. } returns {
  191. var respMap: map[string]any = @kernel.readAsJson(__response, "alipay.open.public.message.content.modify");
  192. if (@kernel.isCertMode()) {
  193. if (@kernel.verify(respMap, @kernel.extractAlipayPublicKey(@kernel.getAlipayCertSN(respMap)))) {
  194. return @kernel.toRespModel(respMap);
  195. }
  196. } else {
  197. if (@kernel.verify(respMap, @kernel.getConfig("alipayPublicKey"))) {
  198. return @kernel.toRespModel(respMap);
  199. }
  200. }
  201. throw {
  202. message = '验签失败,请检查支付宝公钥设置是否正确。'
  203. }
  204. } runtime {
  205. ignoreSSL = @kernel.getConfig("ignoreSSL"),
  206. httpProxy = @kernel.getConfig("httpProxy"),
  207. connectTimeout = 15000,
  208. readTimeout = 15000,
  209. retry = {
  210. maxAttempts = 0
  211. }
  212. }
  213. api sendText(text: string): AlipayOpenPublicMessageTotalSendResponse {
  214. var systemParams: map[string]string = {
  215. method = 'alipay.open.public.message.total.send',
  216. app_id = @kernel.getConfig("appId"),
  217. timestamp = @kernel.getTimestamp(),
  218. format = 'json',
  219. version = '1.0',
  220. alipay_sdk = @kernel.getSdkVersion(),
  221. charset = 'UTF-8',
  222. sign_type = @kernel.getConfig("signType"),
  223. app_cert_sn = @kernel.getMerchantCertSN(),
  224. alipay_root_cert_sn = @kernel.getAlipayRootCertSN()
  225. };
  226. var textObj: Text = new Text {
  227. title = '',
  228. content = text
  229. };
  230. var bizParams: map[string]any = {
  231. msg_type = 'text',
  232. text = textObj
  233. };
  234. var textParams: map[string]string = {
  235. };
  236. __request.protocol = @kernel.getConfig("protocol");
  237. __request.method = 'POST';
  238. __request.pathname = '/gateway.do';
  239. __request.headers = {
  240. host = @kernel.getConfig("gatewayHost"),
  241. content-type = 'application/x-www-form-urlencoded;charset=utf-8'
  242. };
  243. __request.query = @kernel.sortMap({
  244. sign = @kernel.sign(systemParams, bizParams, textParams, @kernel.getConfig("merchantPrivateKey")),
  245. ... systemParams,
  246. ... textParams
  247. });
  248. __request.body = @kernel.toUrlEncodedRequestBody(bizParams);
  249. } returns {
  250. var respMap: map[string]any = @kernel.readAsJson(__response, "alipay.open.public.message.total.send");
  251. if (@kernel.isCertMode()) {
  252. if (@kernel.verify(respMap, @kernel.extractAlipayPublicKey(@kernel.getAlipayCertSN(respMap)))) {
  253. return @kernel.toRespModel(respMap);
  254. }
  255. } else {
  256. if (@kernel.verify(respMap, @kernel.getConfig("alipayPublicKey"))) {
  257. return @kernel.toRespModel(respMap);
  258. }
  259. }
  260. throw {
  261. message = '验签失败,请检查支付宝公钥设置是否正确。'
  262. }
  263. } runtime {
  264. ignoreSSL = @kernel.getConfig("ignoreSSL"),
  265. httpProxy = @kernel.getConfig("httpProxy"),
  266. connectTimeout = 15000,
  267. readTimeout = 15000,
  268. retry = {
  269. maxAttempts = 0
  270. }
  271. }
  272. api sendImageText(articles: [ Article ]): AlipayOpenPublicMessageTotalSendResponse {
  273. var systemParams: map[string]string = {
  274. method = 'alipay.open.public.message.total.send',
  275. app_id = @kernel.getConfig("appId"),
  276. timestamp = @kernel.getTimestamp(),
  277. format = 'json',
  278. version = '1.0',
  279. alipay_sdk = @kernel.getSdkVersion(),
  280. charset = 'UTF-8',
  281. sign_type = @kernel.getConfig("signType"),
  282. app_cert_sn = @kernel.getMerchantCertSN(),
  283. alipay_root_cert_sn = @kernel.getAlipayRootCertSN()
  284. };
  285. var bizParams: map[string]any = {
  286. msg_type = 'image-text',
  287. articles = articles
  288. };
  289. var textParams: map[string]string = {
  290. };
  291. __request.protocol = @kernel.getConfig("protocol");
  292. __request.method = 'POST';
  293. __request.pathname = '/gateway.do';
  294. __request.headers = {
  295. host = @kernel.getConfig("gatewayHost"),
  296. content-type = 'application/x-www-form-urlencoded;charset=utf-8'
  297. };
  298. __request.query = @kernel.sortMap({
  299. sign = @kernel.sign(systemParams, bizParams, textParams, @kernel.getConfig("merchantPrivateKey")),
  300. ... systemParams,
  301. ... textParams
  302. });
  303. __request.body = @kernel.toUrlEncodedRequestBody(bizParams);
  304. } returns {
  305. var respMap: map[string]any = @kernel.readAsJson(__response, "alipay.open.public.message.total.send");
  306. if (@kernel.isCertMode()) {
  307. if (@kernel.verify(respMap, @kernel.extractAlipayPublicKey(@kernel.getAlipayCertSN(respMap)))) {
  308. return @kernel.toRespModel(respMap);
  309. }
  310. } else {
  311. if (@kernel.verify(respMap, @kernel.getConfig("alipayPublicKey"))) {
  312. return @kernel.toRespModel(respMap);
  313. }
  314. }
  315. throw {
  316. message = '验签失败,请检查支付宝公钥设置是否正确。'
  317. }
  318. } runtime {
  319. ignoreSSL = @kernel.getConfig("ignoreSSL"),
  320. httpProxy = @kernel.getConfig("httpProxy"),
  321. connectTimeout = 15000,
  322. readTimeout = 15000,
  323. retry = {
  324. maxAttempts = 0
  325. }
  326. }
  327. api sendSingleMessage(toUserId: string, template: Template): AlipayOpenPublicMessageSingleSendResponse {
  328. var systemParams: map[string]string = {
  329. method = 'alipay.open.public.message.single.send',
  330. app_id = @kernel.getConfig("appId"),
  331. timestamp = @kernel.getTimestamp(),
  332. format = 'json',
  333. version = '1.0',
  334. alipay_sdk = @kernel.getSdkVersion(),
  335. charset = 'UTF-8',
  336. sign_type = @kernel.getConfig("signType"),
  337. app_cert_sn = @kernel.getMerchantCertSN(),
  338. alipay_root_cert_sn = @kernel.getAlipayRootCertSN()
  339. };
  340. var bizParams: map[string]any = {
  341. to_user_id = toUserId,
  342. template = template
  343. };
  344. var textParams: map[string]string = {
  345. };
  346. __request.protocol = @kernel.getConfig("protocol");
  347. __request.method = 'POST';
  348. __request.pathname = '/gateway.do';
  349. __request.headers = {
  350. host = @kernel.getConfig("gatewayHost"),
  351. content-type = 'application/x-www-form-urlencoded;charset=utf-8'
  352. };
  353. __request.query = @kernel.sortMap({
  354. sign = @kernel.sign(systemParams, bizParams, textParams, @kernel.getConfig("merchantPrivateKey")),
  355. ... systemParams,
  356. ... textParams
  357. });
  358. __request.body = @kernel.toUrlEncodedRequestBody(bizParams);
  359. } returns {
  360. var respMap: map[string]any = @kernel.readAsJson(__response, "alipay.open.public.message.single.send");
  361. if (@kernel.isCertMode()) {
  362. if (@kernel.verify(respMap, @kernel.extractAlipayPublicKey(@kernel.getAlipayCertSN(respMap)))) {
  363. return @kernel.toRespModel(respMap);
  364. }
  365. } else {
  366. if (@kernel.verify(respMap, @kernel.getConfig("alipayPublicKey"))) {
  367. return @kernel.toRespModel(respMap);
  368. }
  369. }
  370. throw {
  371. message = '验签失败,请检查支付宝公钥设置是否正确。'
  372. }
  373. } runtime {
  374. ignoreSSL = @kernel.getConfig("ignoreSSL"),
  375. httpProxy = @kernel.getConfig("httpProxy"),
  376. connectTimeout = 15000,
  377. readTimeout = 15000,
  378. retry = {
  379. maxAttempts = 0
  380. }
  381. }
  382. api recallMessage(messageId: string): AlipayOpenPublicLifeMsgRecallResponse {
  383. var systemParams: map[string]string = {
  384. method = 'alipay.open.public.life.msg.recall',
  385. app_id = @kernel.getConfig("appId"),
  386. timestamp = @kernel.getTimestamp(),
  387. format = 'json',
  388. version = '1.0',
  389. alipay_sdk = @kernel.getSdkVersion(),
  390. charset = 'UTF-8',
  391. sign_type = @kernel.getConfig("signType"),
  392. app_cert_sn = @kernel.getMerchantCertSN(),
  393. alipay_root_cert_sn = @kernel.getAlipayRootCertSN()
  394. };
  395. var bizParams: map[string]any = {
  396. message_id = messageId
  397. };
  398. var textParams: map[string]string = {
  399. };
  400. __request.protocol = @kernel.getConfig("protocol");
  401. __request.method = 'POST';
  402. __request.pathname = '/gateway.do';
  403. __request.headers = {
  404. host = @kernel.getConfig("gatewayHost"),
  405. content-type = 'application/x-www-form-urlencoded;charset=utf-8'
  406. };
  407. __request.query = @kernel.sortMap({
  408. sign = @kernel.sign(systemParams, bizParams, textParams, @kernel.getConfig("merchantPrivateKey")),
  409. ... systemParams,
  410. ... textParams
  411. });
  412. __request.body = @kernel.toUrlEncodedRequestBody(bizParams);
  413. } returns {
  414. var respMap: map[string]any = @kernel.readAsJson(__response, "alipay.open.public.life.msg.recall");
  415. if (@kernel.isCertMode()) {
  416. if (@kernel.verify(respMap, @kernel.extractAlipayPublicKey(@kernel.getAlipayCertSN(respMap)))) {
  417. return @kernel.toRespModel(respMap);
  418. }
  419. } else {
  420. if (@kernel.verify(respMap, @kernel.getConfig("alipayPublicKey"))) {
  421. return @kernel.toRespModel(respMap);
  422. }
  423. }
  424. throw {
  425. message = '验签失败,请检查支付宝公钥设置是否正确。'
  426. }
  427. } runtime {
  428. ignoreSSL = @kernel.getConfig("ignoreSSL"),
  429. httpProxy = @kernel.getConfig("httpProxy"),
  430. connectTimeout = 15000,
  431. readTimeout = 15000,
  432. retry = {
  433. maxAttempts = 0
  434. }
  435. }
  436. api setIndustry(primaryIndustryCode: string, primaryIndustryName: string, secondaryIndustryCode: string, secondaryIndustryName: string): AlipayOpenPublicTemplateMessageIndustryModifyResponse {
  437. var systemParams: map[string]string = {
  438. method = 'alipay.open.public.template.message.industry.modify',
  439. app_id = @kernel.getConfig("appId"),
  440. timestamp = @kernel.getTimestamp(),
  441. format = 'json',
  442. version = '1.0',
  443. alipay_sdk = @kernel.getSdkVersion(),
  444. charset = 'UTF-8',
  445. sign_type = @kernel.getConfig("signType"),
  446. app_cert_sn = @kernel.getMerchantCertSN(),
  447. alipay_root_cert_sn = @kernel.getAlipayRootCertSN()
  448. };
  449. var bizParams: map[string]any = {
  450. primary_industry_code = primaryIndustryCode,
  451. primary_industry_name = primaryIndustryName,
  452. secondary_industry_code = secondaryIndustryCode,
  453. secondary_industry_name = secondaryIndustryName
  454. };
  455. var textParams: map[string]string = {
  456. };
  457. __request.protocol = @kernel.getConfig("protocol");
  458. __request.method = 'POST';
  459. __request.pathname = '/gateway.do';
  460. __request.headers = {
  461. host = @kernel.getConfig("gatewayHost"),
  462. content-type = 'application/x-www-form-urlencoded;charset=utf-8'
  463. };
  464. __request.query = @kernel.sortMap({
  465. sign = @kernel.sign(systemParams, bizParams, textParams, @kernel.getConfig("merchantPrivateKey")),
  466. ... systemParams,
  467. ... textParams
  468. });
  469. __request.body = @kernel.toUrlEncodedRequestBody(bizParams);
  470. } returns {
  471. var respMap: map[string]any = @kernel.readAsJson(__response, "alipay.open.public.template.message.industry.modify");
  472. if (@kernel.isCertMode()) {
  473. if (@kernel.verify(respMap, @kernel.extractAlipayPublicKey(@kernel.getAlipayCertSN(respMap)))) {
  474. return @kernel.toRespModel(respMap);
  475. }
  476. } else {
  477. if (@kernel.verify(respMap, @kernel.getConfig("alipayPublicKey"))) {
  478. return @kernel.toRespModel(respMap);
  479. }
  480. }
  481. throw {
  482. message = '验签失败,请检查支付宝公钥设置是否正确。'
  483. }
  484. } runtime {
  485. ignoreSSL = @kernel.getConfig("ignoreSSL"),
  486. httpProxy = @kernel.getConfig("httpProxy"),
  487. connectTimeout = 15000,
  488. readTimeout = 15000,
  489. retry = {
  490. maxAttempts = 0
  491. }
  492. }
  493. api getIndustry(): AlipayOpenPublicSettingCategoryQueryResponse {
  494. var systemParams: map[string]string = {
  495. method = 'alipay.open.public.setting.category.query',
  496. app_id = @kernel.getConfig("appId"),
  497. timestamp = @kernel.getTimestamp(),
  498. format = 'json',
  499. version = '1.0',
  500. alipay_sdk = @kernel.getSdkVersion(),
  501. charset = 'UTF-8',
  502. sign_type = @kernel.getConfig("signType"),
  503. app_cert_sn = @kernel.getMerchantCertSN(),
  504. alipay_root_cert_sn = @kernel.getAlipayRootCertSN()
  505. };
  506. var bizParams: map[string]any = {
  507. };
  508. var textParams: map[string]string = {
  509. };
  510. __request.protocol = @kernel.getConfig("protocol");
  511. __request.method = 'POST';
  512. __request.pathname = '/gateway.do';
  513. __request.headers = {
  514. host = @kernel.getConfig("gatewayHost"),
  515. content-type = 'application/x-www-form-urlencoded;charset=utf-8'
  516. };
  517. __request.query = @kernel.sortMap({
  518. sign = @kernel.sign(systemParams, bizParams, textParams, @kernel.getConfig("merchantPrivateKey")),
  519. ... systemParams,
  520. ... textParams
  521. });
  522. __request.body = @kernel.toUrlEncodedRequestBody(bizParams);
  523. } returns {
  524. var respMap: map[string]any = @kernel.readAsJson(__response, "alipay.open.public.setting.category.query");
  525. if (@kernel.isCertMode()) {
  526. if (@kernel.verify(respMap, @kernel.extractAlipayPublicKey(@kernel.getAlipayCertSN(respMap)))) {
  527. return @kernel.toRespModel(respMap);
  528. }
  529. } else {
  530. if (@kernel.verify(respMap, @kernel.getConfig("alipayPublicKey"))) {
  531. return @kernel.toRespModel(respMap);
  532. }
  533. }
  534. throw {
  535. message = '验签失败,请检查支付宝公钥设置是否正确。'
  536. }
  537. } runtime {
  538. ignoreSSL = @kernel.getConfig("ignoreSSL"),
  539. httpProxy = @kernel.getConfig("httpProxy"),
  540. connectTimeout = 15000,
  541. readTimeout = 15000,
  542. retry = {
  543. maxAttempts = 0
  544. }
  545. }