@@ -3,6 +3,13 @@ import { BaseService, Service } from '@/cool';
@Service('admin-shop')
export class AdminShopService extends BaseService {
+ prepareBind(data) {
+ return this.request({
+ url: '/prepare-bind',
+ method: 'POST',
+ data: data
+ });
+ }
}
export default new AdminShopService();
@@ -320,7 +320,7 @@ export default {
delete adForm.roleName;
if (this.addOrModify == 1) {
host = () => {
- return this.$service.adminShop.add(this.adForm);
+ return this.$service.adminShop.prepareBind(this.adForm);
};
} else {