更改部分配置(百度文字识别)

This commit is contained in:
lyf 2023-01-29 09:44:49 +08:00
parent 76c4265134
commit ba478602c4
5 changed files with 27 additions and 46 deletions

View File

@ -4,43 +4,12 @@
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="a8a68d09-bb62-4c54-a8c8-4495b550f9ca" name="默认变更列表" comment="更改配置">
<change afterPath="$PROJECT_DIR$/.idea/libraries/Maven__com_aliyun_alibabacloud_gateway_spi_0_0_1.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/libraries/Maven__com_aliyun_credentials_java_0_2_4.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/libraries/Maven__com_aliyun_dysmsapi20170525_2_0_21.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/libraries/Maven__com_aliyun_endpoint_util_0_0_7.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/libraries/Maven__com_aliyun_openapiutil_0_1_14.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/libraries/Maven__com_aliyun_tea_1_2_0.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/libraries/Maven__com_aliyun_tea_openapi_0_2_6.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/libraries/Maven__com_aliyun_tea_util_0_2_14.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/libraries/Maven__com_aliyun_tea_xml_0_1_5.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/libraries/Maven__com_sun_xml_bind_jaxb_core_2_3_0.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/libraries/Maven__com_sun_xml_bind_jaxb_impl_2_3_0.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/libraries/Maven__org_dom4j_dom4j_2_0_3.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/libraries/Maven__org_jacoco_org_jacoco_agent_runtime_0_8_4.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/artifacts/pluss_manage_page_war_exploded.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/artifacts/pluss_manage_page_war_exploded.xml" afterDir="false" />
<list default="true" id="a8a68d09-bb62-4c54-a8c8-4495b550f9ca" name="默认变更列表" comment="更改发送短信,">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/code-generator/code-generator.iml" beforeDir="false" afterPath="$PROJECT_DIR$/code-generator/code-generator.iml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pluss-api-page/pluss-api-page.iml" beforeDir="false" afterPath="$PROJECT_DIR$/pluss-api-page/pluss-api-page.iml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pluss-api-page/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/pluss-api-page/pom.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pluss-api-page/src/main/java/cn/pluss/platform/controller/UserInfoController.java" beforeDir="false" afterPath="$PROJECT_DIR$/pluss-api-page/src/main/java/cn/pluss/platform/controller/UserInfoController.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pluss-api-page/target/classes/cn/pluss/platform/controller/UserInfoController.class" beforeDir="false" afterPath="$PROJECT_DIR$/pluss-api-page/target/classes/cn/pluss/platform/controller/UserInfoController.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pluss-common-bundle/pluss-common-bundle.iml" beforeDir="false" afterPath="$PROJECT_DIR$/pluss-common-bundle/pluss-common-bundle.iml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pluss-common-bundle/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/pluss-common-bundle/pom.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pluss-common-bundle/src/main/java/cn/pluss/platform/util/ValidateCodeUtil.java" beforeDir="false" afterPath="$PROJECT_DIR$/pluss-common-bundle/src/main/java/cn/pluss/platform/util/ValidateCodeUtil.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pluss-common-bundle/target/classes/cn/pluss/platform/util/ValidateCodeUtil.class" beforeDir="false" afterPath="$PROJECT_DIR$/pluss-common-bundle/target/classes/cn/pluss/platform/util/ValidateCodeUtil.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pluss-dao-bundle/pluss-dao-bundle.iml" beforeDir="false" afterPath="$PROJECT_DIR$/pluss-dao-bundle/pluss-dao-bundle.iml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pluss-manage-page/pluss-manage-page.iml" beforeDir="false" afterPath="$PROJECT_DIR$/pluss-manage-page/pluss-manage-page.iml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pluss-model-bundle/pluss-model-bundle.iml" beforeDir="false" afterPath="$PROJECT_DIR$/pluss-model-bundle/pluss-model-bundle.iml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pluss-model-bundle/target/generated-sources/annotations/cn/pluss/platform/converter/BankCardConverterImpl.java" beforeDir="false" afterPath="$PROJECT_DIR$/pluss-model-bundle/target/generated-sources/annotations/cn/pluss/platform/converter/BankCardConverterImpl.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pluss-model-bundle/target/generated-sources/annotations/cn/pluss/platform/converter/ConverterImpl.java" beforeDir="false" afterPath="$PROJECT_DIR$/pluss-model-bundle/target/generated-sources/annotations/cn/pluss/platform/converter/ConverterImpl.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pluss-model-bundle/target/generated-sources/annotations/cn/pluss/platform/converter/ImgConverterImpl.java" beforeDir="false" afterPath="$PROJECT_DIR$/pluss-model-bundle/target/generated-sources/annotations/cn/pluss/platform/converter/ImgConverterImpl.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pluss-model-bundle/target/generated-sources/annotations/cn/pluss/platform/converter/MerchantBaseInfoConverterImpl.java" beforeDir="false" afterPath="$PROJECT_DIR$/pluss-model-bundle/target/generated-sources/annotations/cn/pluss/platform/converter/MerchantBaseInfoConverterImpl.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pluss-model-bundle/target/generated-sources/annotations/cn/pluss/platform/converter/MerchantCashPlaceConverterImpl.java" beforeDir="false" afterPath="$PROJECT_DIR$/pluss-model-bundle/target/generated-sources/annotations/cn/pluss/platform/converter/MerchantCashPlaceConverterImpl.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pluss-model-bundle/target/generated-sources/annotations/cn/pluss/platform/converter/MerchantStaffConverterImpl.java" beforeDir="false" afterPath="$PROJECT_DIR$/pluss-model-bundle/target/generated-sources/annotations/cn/pluss/platform/converter/MerchantStaffConverterImpl.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pluss-model-bundle/target/generated-sources/annotations/cn/pluss/platform/converter/UserAppConverterImpl.java" beforeDir="false" afterPath="$PROJECT_DIR$/pluss-model-bundle/target/generated-sources/annotations/cn/pluss/platform/converter/UserAppConverterImpl.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pluss-service-bundle/pluss-service-bundle.iml" beforeDir="false" afterPath="$PROJECT_DIR$/pluss-service-bundle/pluss-service-bundle.iml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pluss-wap-page/pluss-wap-page.iml" beforeDir="false" afterPath="$PROJECT_DIR$/pluss-wap-page/pluss-wap-page.iml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pluss-api-page/src/main/java/cn/pluss/platform/controller/common/ImageUploadController.java" beforeDir="false" afterPath="$PROJECT_DIR$/pluss-api-page/src/main/java/cn/pluss/platform/controller/common/ImageUploadController.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pluss-api-page/target/classes/cn/pluss/platform/controller/PhoneValidateCodeController.class" beforeDir="false" afterPath="$PROJECT_DIR$/pluss-api-page/target/classes/cn/pluss/platform/controller/PhoneValidateCodeController.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pluss-api-page/target/classes/cn/pluss/platform/controller/common/ImageUploadController.class" beforeDir="false" afterPath="$PROJECT_DIR$/pluss-api-page/target/classes/cn/pluss/platform/controller/common/ImageUploadController.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pluss-common-bundle/src/main/resources/config/application-common.yml" beforeDir="false" afterPath="$PROJECT_DIR$/pluss-common-bundle/src/main/resources/config/application-common.yml" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -76,7 +45,7 @@
<property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="aspect.path.notification.shown" value="true" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/../../cz/cz-parent" />
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
<property name="node.js.detected.package.eslint" value="true" />
<property name="node.js.detected.package.tslint" value="true" />
<property name="node.js.selected.package.eslint" value="(autodetect)" />
@ -108,13 +77,15 @@
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration default="true" type="ArquillianJUnit" factoryName="" nameIsGenerated="true">
<configuration default="true" type="ArquillianTestNG" factoryName="" nameIsGenerated="true">
<option name="arquillianRunConfiguration">
<value>
<option name="containerStateName" value="" />
</value>
</option>
<option name="TEST_OBJECT" value="class" />
<option name="TEST_OBJECT" value="CLASS" />
<properties />
<listeners />
<method v="2">
<option name="Make" enabled="true" />
</method>
@ -179,7 +150,8 @@
<workItem from="1674003718074" duration="22135000" />
<workItem from="1674867825532" duration="12546000" />
<workItem from="1674889612655" duration="4695000" />
<workItem from="1674894362598" duration="2975000" />
<workItem from="1674894362598" duration="8405000" />
<workItem from="1674954816004" duration="1666000" />
</task>
<task id="LOCAL-00001" summary="更改配置">
<created>1674892648184</created>
@ -188,7 +160,14 @@
<option name="project" value="LOCAL" />
<updated>1674892648184</updated>
</task>
<option name="localTasksCounter" value="2" />
<task id="LOCAL-00002" summary="更改发送短信,">
<created>1674897664824</created>
<option name="number" value="00002" />
<option name="presentableId" value="LOCAL-00002" />
<option name="project" value="LOCAL" />
<updated>1674897664824</updated>
</task>
<option name="localTasksCounter" value="3" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
@ -220,7 +199,8 @@
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="更改配置" />
<option name="LAST_COMMIT_MESSAGE" value="更改配置" />
<MESSAGE value="更改发送短信," />
<option name="LAST_COMMIT_MESSAGE" value="更改发送短信," />
</component>
<component name="XDebuggerManager">
<breakpoint-manager>

View File

@ -30,8 +30,9 @@ public class ImageUploadController {
return ResultGenerator.genSuccessResult(url);
}
@PostMapping("")
@PostMapping("/image")
public Result<?> imageUpload(@RequestParam("file") MultipartFile file) {
System.out.println("26sa1d521sa561s56");
final String url;
try {
url = OssOperatUtil.upload(file.getInputStream(), UUID.randomUUID().toString().replace("-", ""), "png");

View File

@ -93,7 +93,7 @@ parameter:
ALI_APP_ID: 支付宝原生接入的APPID
ALI_RATE: 0.006
ALI_RETURN_URL: ${parameter.domain}/wap/aliPay/returnUrl
APPID: 微信原生接入的APPID
APPID: wx7f982bbf66000fd1
APPLETS_APPID: 小程序付款APPID
APPSECRET:
KEY: 微信原生加密用的KEY
@ -113,8 +113,8 @@ parameter:
ZY_PUB:
agentId: 乐刷代理商编号、未接入可不管
apk_dowload_url: apk下载链接存储转入OSS之后可不管
baiduAK: cqmQn4RoZgC0IyH4mbHjKmQQ
baiduSK: hUhGrZFONMBjIzUQULOtlSXP3uTpompp
baiduAK: LUcko8ZP334suBQ929nbrBtV
baiduSK: VqPHkWS5oipOEc2yw7dNa5CWr7yGIyiE
bankCardOCRUrl: https://aip.baidubce.com/rest/2.0/ocr/v1/bankcard
blCardOCRUrl: https://aip.baidubce.com/rest/2.0/ocr/v1/business_license
# 百度人脸识别应用的AK