|
|
@@ -21,13 +21,13 @@ export function jumpToPage(pageId: number): AxiosPromise<any> {
|
|
|
// Update Icon
|
|
|
export interface UpdateIconParams {
|
|
|
id: number;
|
|
|
- icon: string;
|
|
|
+ iconName: string;
|
|
|
}
|
|
|
|
|
|
export function updateIcon(params: UpdateIconParams): AxiosPromise<any> {
|
|
|
return request({
|
|
|
- url: '/app-centre/manage/update/icon',
|
|
|
+ url: '/app-centre/manage/editeIcon',
|
|
|
method: 'post',
|
|
|
data: params
|
|
|
});
|
|
|
-}
|
|
|
+}
|