lib/reapal/api/api_helper.rb in reapal-0.9.13 vs lib/reapal/api/api_helper.rb in reapal-0.10.0

- old
+ new

@@ -12,10 +12,10 @@ # @param fail_codes [ Array ] 错误返回码 # @param success_codes [ String ] 【业务】【明确的】正确返回码(而不是申请成功这类) # # @return [ Hash ] 结果集(见通用返回) # - def operate_post(request_type, service, params, post_path, fail_codes, success_codes, version=nil) + def operate_post(request_type, service, params, post_path, fail_codes, success_codes, version='3.0') response = Http.post(service, params, @config, post_path, version) res = Reapal::Utils.api_result(params, response) if :operate == request_type