You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the abp3.2.1 with angular .
I use abp generate-proxy to cerate services.
abp generate code: checkBeamByBeamId = (beamId: number) => this.restService.request<any, boolean>({ method: 'POST', url:/api/app/beam/checkBeam/${beamId}, }, { apiName: this.apiName });
The api in C# code: public Task<bool> CheckBeam(long beamId)
But I wish the api code checkBeam = (beamId: number) =>...
I want to keep the name of the API the same as the backend,How can I configure this?
Thanks in advance
The text was updated successfully, but these errors were encountered:
I looked up the source code and modified it the provider,and then injected it,it works.
As a user, I hope to be able to customize method names or several styles to choose.
Thank you.
I use the abp3.2.1 with angular .
I use abp generate-proxy to cerate services.
abp generate code:
checkBeamByBeamId = (beamId: number) => this.restService.request<any, boolean>({ method: 'POST', url:
/api/app/beam/checkBeam/${beamId}, }, { apiName: this.apiName });
The api in C# code:
public Task<bool> CheckBeam(long beamId)
But I wish the api code
checkBeam = (beamId: number) =>...
I want to keep the name of the API the same as the backend,How can I configure this?
Thanks in advance
The text was updated successfully, but these errors were encountered: