mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package com.panzhihua.applets.api;
 
import com.panzhihua.applets.config.UnionDoorUtil;
import com.panzhihua.common.model.vos.R;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
 
import javax.annotation.Resource;
 
@RestController
@RequestMapping("/unionDoor/")
@Api(tags = {"户外劳工站接口"})
public class UnionDoorApi {
 
    @Resource
    private UnionDoorUtil unionDoorUtil;
 
 
    /**
     * (二期)用户开门(通过电话)(主花城e+使用)
     *
     * @return 总工会户外劳共用户
     */
    @GetMapping("/openDoorByPhone")
    @ApiOperation("(二期)用户开门(通过电话)(主花城e+使用)")
    public R openDoorByPhone(@RequestParam(value = "qRCode") String qRCode, @RequestParam(value = "phone") String phone) throws Exception {
        return unionDoorUtil.openDoorByPhone(qRCode, phone);
    }
 
}