Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
API for adding product barcodes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jzow committed Oct 19, 2023
1 parent c4d2aaf commit cecb005
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/api/product/product.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import {defHttp} from '/@/utils/http/axios';
import { ErrorMessageMode } from '/#/axios';
import {BaseDataResp} from "@/api/model/baseModel";

enum Api {
getBarCode = '/product/getBarCode',
}

export function getBarCode() {
return defHttp.get<BaseDataResp<number>>(
{
url: Api.getBarCode,
}
);
}

0 comments on commit cecb005

Please sign in to comment.