| | |
| | | }
|
| | | }
|
| | |
|
| | | //获取电话号码
|
| | | @RequestMapping(value = "getPhone")
|
| | | public void getPhone(String callback, AcceptData acceptData, Long uid, PrintWriter out) {
|
| | | if (uid == null || uid <= 0) {
|
| | | JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult(1, "用户未登录"));
|
| | | return;
|
| | | }
|
| | | UserInfo user = userInfoService.selectAvailableByPrimaryKey(uid);
|
| | | if(user==null){
|
| | | JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult(2, "用户不存在"));
|
| | | return;
|
| | | }
|
| | | |
| | | JSONObject data=new JSONObject();
|
| | | data.put("phone", user.getPhone());
|
| | | JsonUtil.printMode(out, callback, JsonUtil.loadTrueResult(data));
|
| | | }
|
| | |
|
| | | }
|
| | |
| | | import com.yeshi.fanli.util.StringUtil;
|
| | |
|
| | | public enum CloudOrderMenuEnum {
|
| | | robotMonth(0.01, 4, 1, "全能机器人", "一个月");
|
| | | robotMonth(20, 4, 1, "全能机器人", "一个月");
|
| | |
|
| | | private double money;
|
| | | private Integer robotType;
|
| | |
| | | <version>2.11.2</version>
|
| | | </dependency>
|
| | |
|
| | |
|
| | | <!-- |
| | | <dependency>
|
| | | <groupId>org.bouncycastle</groupId>
|
| | | <artifactId>bcprov-jdk16</artifactId>
|
| | | <version>1.46</version>
|
| | | </dependency>
|
| | | |
| | | -->
|
| | |
|
| | | <!-- 支付宝相关 -->
|
| | |
|
| | |
| | | </dependency>
|
| | |
|
| | |
|
| | | <!-- |
| | |
|
| | | <dependency>
|
| | | <groupId>com.alipay.sdk</groupId>
|
| | | <artifactId>alipay-easysdk</artifactId>
|
| | | <version>1.2.1</version>
|
| | | </dependency>
|
| | |
|
| | | -->
|
| | |
|
| | | <!--StringUtils -->
|
| | | <!-- <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId>
|