Pu Zhibing
2025-02-27 f0a9a41697a8568e8b3bd3436c450e68b3298916
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
package com.panzhihua.applets.config;
 
 
import com.alibaba.fastjson.JSONObject;
import com.panzhihua.common.model.vos.R;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import static com.panzhihua.common.utlis.HttpClientUtil.httpGet;
 
@Slf4j
@Service
public class UnionDoorUtil {
 
 
    /**
     * 户外劳工站
     *
     * @return token
     * @throws Exception
     */
    public R openDoorByPhone(String qRCode,String phone) throws Exception {
        String url = "https://userinner.pzhszgh.cn/unionOutdoor/unionUser/openDoorByPhone?qRCode="+qRCode+"&phone="+phone;
        return JSONObject.parseObject(httpGet(url, null), R.class);
    }
}