|
@@ -45,8 +45,15 @@ function isUnbindDeviceList(formData) {
|
|
|
return request.post(constant.serverUrl + "/base/canteenDeviceRelation/isUnbindDeviceList", formData);
|
|
|
}
|
|
|
|
|
|
+function unbindDevice(formModel) {
|
|
|
+ return request.post(constant.serverUrl + "/base/canteenDeviceRelation/unbindDevice", formModel, {
|
|
|
+ headers: {
|
|
|
+ "Content-Type": "application/json"
|
|
|
+ }
|
|
|
+ });
|
|
|
+}
|
|
|
|
|
|
|
|
|
export default {
|
|
|
- create, edit, add, update, remove, batchRemove, pageList,isUnbindDeviceList
|
|
|
+ create, edit, add, update, remove, batchRemove, pageList,isUnbindDeviceList,unbindDevice
|
|
|
}
|