Sign in

简柏林 / thingskit-app · Files

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Network
  • thingskit-app
  • api
  • deviceApi
  • index.js
  • pref:修改设备分页为post
    51cfeea8
    fengwotao authored
    2023-02-08 15:15:47 +0800  
    Browse Files »
index.js 308 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
//获取设备分页API 修改为post
/**
 * params ((page,pageSize))
 * data ((deviceProfileIds))
 */
const getDeviceApi = (urlParams, data) => {
	const {
		page,
		pageSize,
	} = urlParams
	return uni.$u.http.post(`/yt/device?page=${page}&pageSize=${pageSize}`, data);
};

export default {
	getDeviceApi
}