Initial commit

This commit is contained in:
d.klimov
2026-01-20 16:11:38 +03:00
commit d42b28060e
50 changed files with 15886 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
1. Добавить в `appsettings.json`
1. ```json
"BPMSoft.Configuration.ElmaService.ElmaService": [
"/ServiceModel/ElmaService.svc"
],
```
2. Добавить в `BPMSoft.WebHost.dll.config`
1. `<add key="AllowedLocations" value="ServiceModel/ElmaService.svc;...`
3. Добавить логи
```json
<logger name="ElmaSyncHelper" writeTo="ElmaSyncHelperAppender" minlevel="Debug" final="true" />
<logger name="ElmaService" writeTo="ElmaServiceAppender" minlevel="Debug" final="true" />
```
```js
callElmaService: function () {
const request = {
Id_crm: this.get("Id"),
chain_of_approval: "test1, test2"
};
const config = {
serviceName: "ElmaService",
methodName: "CreateOrderApproval",
data: {
request: request
}
};
this.callService(config, function(response) {
debugger;
}, this)
},
```