예제 #1
0
 public object RegisterDevice([FromBody] DeviceRequest requestParams)
 {
     MachinesSettings.RegisterDevice(requestParams.StoreId, requestParams.MachineSn, requestParams.CID, requestParams.DeviceSn, requestParams.Type);
     return(null);
 }
 public void RegisterDevice([FromBody] DeviceRequest requestParams)
 {
     MachinesSettings.RegisterDevice(requestParams.StoreId, requestParams.MachineSn, -1, requestParams.DeviceSn, requestParams.Type);
 }