|
@@ -12,6 +12,7 @@ import com.java110.utils.util.BeanConvertUtil;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.http.ResponseEntity;
|
|
import org.springframework.http.ResponseEntity;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
|
+import org.springframework.web.bind.annotation.RequestHeader;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
@@ -99,8 +100,8 @@ public class StaffApi {
|
|
|
* @path /app/staff/queryStaffAppAuth
|
|
* @path /app/staff/queryStaffAppAuth
|
|
|
*/
|
|
*/
|
|
|
@RequestMapping(value = "/queryStaffAppAuth", method = RequestMethod.GET)
|
|
@RequestMapping(value = "/queryStaffAppAuth", method = RequestMethod.GET)
|
|
|
- public ResponseEntity<String> queryStaffAppAuth(@RequestParam(value = "store-id") String storeId,
|
|
|
|
|
- @RequestParam(value = "user-id") String userId,
|
|
|
|
|
|
|
+ public ResponseEntity<String> queryStaffAppAuth(@RequestHeader(value = "store-id") String storeId,
|
|
|
|
|
+ @RequestHeader(value = "user-id") String userId,
|
|
|
@RequestParam(value = "page") int page,
|
|
@RequestParam(value = "page") int page,
|
|
|
@RequestParam(value = "row") int row) {
|
|
@RequestParam(value = "row") int row) {
|
|
|
StaffAppAuthDto staffAppAuthDto = new StaffAppAuthDto();
|
|
StaffAppAuthDto staffAppAuthDto = new StaffAppAuthDto();
|