|
...
|
...
|
@@ -183,17 +183,7 @@ class ComController extends BaseController |
|
|
|
$this->response('success',Code::SUCCESS,$str);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function ceshi(){
|
|
|
|
// $length = strlen((string)123); // 获取变量的位数
|
|
|
|
// $paddingLength = 5 - $length; // 计算填充前面的 0 的位数
|
|
|
|
// $zeros = str_repeat("0", $paddingLength);
|
|
|
|
// return '6'.'1'.$zeros.'123';
|
|
|
|
$data = Project::planMap();
|
|
|
|
$data = array_flip($data);
|
|
|
|
if(isset($data['商务版'])){
|
|
|
|
return $data['商务版'];
|
|
|
|
}else{
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// public function ceshi(){
|
|
|
|
//
|
|
|
|
// }
|
|
|
|
} |
...
|
...
|
|